Merge branch '7.4' into 8.0

* 7.4:
  PHPUnit 13 requires PHP 8.4.1 or higher
This commit is contained in:
Christian Flothmann
2026-02-13 13:29:53 +01:00

View File

@@ -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';