minor #37595 Require PHPUnit 9.3 on PHP 8 (GrahamCampbell)
This PR was squashed before being merged into the 4.4 branch.
Discussion
----------
Require PHPUnit 9.3 on PHP 8
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| License | MIT
The first version of PHPUnit to support PHP 8.0 is PHPUnit 9.3.
---
Depends on https://github.com/symfony/symfony/pull/37607. Related to https://github.com/composer/composer/pull/9054.
Commits
-------
54b13c04c9
Require PHPUnit 9.3 on PHP 8
This commit is contained in:
commit
a0f7c887ff
@ -93,7 +93,10 @@ $passthruOrFail = function ($command) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (PHP_VERSION_ID >= 70200) {
|
if (PHP_VERSION_ID >= 80000) {
|
||||||
|
// PHP 8 requires PHPUnit 9.3+
|
||||||
|
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.3');
|
||||||
|
} elseif (PHP_VERSION_ID >= 70200) {
|
||||||
// PHPUnit 8 requires PHP 7.2+
|
// PHPUnit 8 requires PHP 7.2+
|
||||||
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.3');
|
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.3');
|
||||||
} elseif (PHP_VERSION_ID >= 70100) {
|
} elseif (PHP_VERSION_ID >= 70100) {
|
||||||
|
Reference in New Issue
Block a user