Merge branch '3.4' into 4.3

* 3.4:
  Ignore deprecations about doctrine/persistence coming from doctrine/orm
This commit is contained in:
Nicolas Grekas 2019-12-16 13:42:19 +01:00
commit 6c32cc686e

10
phpunit
View File

@ -21,4 +21,14 @@ if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
}
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
if (!getenv('SYMFONY_DEPRECATIONS_HELPER')) {
foreach ($_SERVER['argv'] as $v) {
if (false !== strpos($v, 'Bridge/Doctrine')) {
putenv('SYMFONY_DEPRECATIONS_HELPER=max[indirect]=7');
break;
}
}
}
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';