Skip to content

Commit d53f4e6

Browse files
committed
Bump default PHPUnit version for PHP 8 to 9.4.
1 parent e283912 commit d53f4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/simple-phpunit.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
if (\PHP_VERSION_ID >= 80000) {
9797
// PHP 8 requires PHPUnit 9.3+
98-
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.3');
98+
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '9.4');
9999
} elseif (\PHP_VERSION_ID >= 70200) {
100100
// PHPUnit 8 requires PHP 7.2+
101101
$PHPUNIT_VERSION = $getEnvVar('SYMFONY_PHPUNIT_VERSION', '8.3');
@@ -196,7 +196,7 @@
196196
'requires' => ['php' => '*'],
197197
];
198198

199-
$stableVersions = array_filter($info['versions'], function($v) {
199+
$stableVersions = array_filter($info['versions'], function ($v) {
200200
return !preg_match('/-dev$|^dev-/', $v);
201201
});
202202

0 commit comments

Comments
 (0)