Skip to content

Commit 8ea24dc

Browse files
committed
remove not needed PHP version switch
1 parent a90b3a2 commit 8ea24dc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

phpunit

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
1010
exit(1);
1111
}
1212
if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
13-
if (\PHP_VERSION_ID < 70300) {
14-
putenv('SYMFONY_PHPUNIT_VERSION=8.5.26');
15-
} else {
16-
putenv('SYMFONY_PHPUNIT_VERSION=9.6');
17-
}
13+
putenv('SYMFONY_PHPUNIT_VERSION=9.6');
1814
}
19-
if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS') && \PHP_VERSION_ID >= 70300) {
15+
if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
2016
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
2117
}
2218
if (getcwd() === realpath(__DIR__.'/src/Symfony/Bridge/PhpUnit')) {

0 commit comments

Comments
 (0)