-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow running under PHP 8 and PHPUnit 9.x
- PHPUnit 9.3 is required to support PHP 8. PHPUnit 8.x will not be updated to support PHP 8 and will become unsupported in February 2021. - Methods that were removed from 9.x were migrated. - Prophecy will no longer be bundled with PHPUnit, but the replacement phpspec/prophecy-phpunit required PHP 7.3. To keep PHP 7.2 compatibility, weirdan/prophecy-shim is used as a "migration layer". Note: 2.0.1 was tagged incorrectly, hence it is avoided in the version constraint. - http-factory-tests upgraded to 0.7 (allows installing on PHP 8) - In PHP 8, fopen throws ValueError instead of triggering an error. In PHP 7, that exception does not exist and PHPStan fails. Hence the symfony/polyfill-php80 dependency was brought. - Some dependencies cannot be installed on PHP 8 yet (namely, fig/http-message-util and php-http/psr7-integration-tests). "--ignore-platform-reqs" was temporarily added to the CI build with PHP 'nightly'.
- Loading branch information
Showing
6 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters