Skip to content

Commit

Permalink
Merge pull request #374 from perftools/composer2-platform-check
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Nov 10, 2020
2 parents be72a03 + 17cdaf8 commit 2a46e99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ Any of the drivers and an accompanying database:
- [MySQL (PDO)][ext-pdo_mysql]
- [PostgreSQL (PDO)][ext-pdo_pgsql]

Additionally, to use PDO with XHGui, you must either install the MongoDB PHP extension or skip platform requirements checks via `composer`. PDO may not support all the features of XHGui.
NOTE: PDO may not support all the features of XHGui, see [#320].

[ext-pdo]: https://www.php.net/manual/en/book.pdo.php
[ext-pdo_sqlite]: https://www.php.net/manual/en/ref.pdo-sqlite.php
[ext-pdo_mysql]: https://www.php.net/manual/en/ref.pdo-mysql.php
[ext-pdo_pgsql]: https://www.php.net/manual/en/ref.pdo-pgsql.php
[#320]: https://github.com/perftools/xhgui/issues/320

# Installation from source

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"php": "7.0.8",
"ext-mongodb": "1.3.0"
},
"sort-packages": true
"sort-packages": true,
"platform-check": "php-only"
},
"require": {
"php": "^7.0",
Expand Down

0 comments on commit 2a46e99

Please sign in to comment.