Skip to content

Commit fd0e80b

Browse files
GrahamCampbellnicolas-grekas
authored andcommitted
Require PHPUnit 9.3 on PHP 8
1 parent 68fec2d commit fd0e80b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/simple-phpunit.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@
9393
}
9494
};
9595

96-
if (PHP_VERSION_ID >= 70200) {
96+
if (PHP_VERSION_ID >= 80000) {
97+
// PHP 8 requires PHPUnit 9.3+
98+
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.3');
99+
} elseif (PHP_VERSION_ID >= 70200) {
97100
// PHPUnit 8 requires PHP 7.2+
98101
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.3');
99102
} elseif (PHP_VERSION_ID >= 70100) {

0 commit comments

Comments
 (0)