Merge branch '4.4' into 5.2

* 4.4:
  Re-enable triggering deprecations about return types
This commit is contained in:
Nicolas Grekas 2021-02-10 22:59:49 +01:00
commit 70ad16067d

View File

@ -16,6 +16,9 @@ if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
putenv('SYMFONY_PHPUNIT_VERSION=9.5');
}
}
if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS') && \PHP_VERSION_ID >= 70200) {
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
}
if (getcwd() === realpath(__DIR__.'/src/Symfony/Bridge/PhpUnit')) {
putenv('SYMFONY_DEPRECATIONS_HELPER=disabled');
}