mirror of
https://github.com/symfony/symfony.git
synced 2026-03-24 00:32:15 +01:00
Merge branch '7.4' into 8.0
* 7.4: PHPUnit 13 requires PHP 8.4.1 or higher
This commit is contained in:
6
phpunit
6
phpunit
@@ -6,7 +6,11 @@ if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
|
||||
exit(1);
|
||||
}
|
||||
if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
|
||||
putenv('SYMFONY_PHPUNIT_VERSION=13');
|
||||
if (\PHP_VERSION_ID >= 80401) {
|
||||
putenv('SYMFONY_PHPUNIT_VERSION=13');
|
||||
} else {
|
||||
putenv('SYMFONY_PHPUNIT_VERSION=12');
|
||||
}
|
||||
|
||||
if (!in_array('--fail-on-phpunit-notice', $_SERVER['argv'], true) && !in_array('--do-not-fail-on-phpunit-notice', $_SERVER['argv'], true)) {
|
||||
$_SERVER['argv'][] = '--fail-on-phpunit-notice';
|
||||
|
||||
Reference in New Issue
Block a user