Merge branch '3.4' into 4.3
* 3.4: Ignore deprecations about doctrine/persistence coming from doctrine/orm
This commit is contained in:
commit
6c32cc686e
10
phpunit
10
phpunit
@ -21,4 +21,14 @@ if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
|
|||||||
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
|
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
|
||||||
}
|
}
|
||||||
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
|
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';
|
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
|
||||||
|
Reference in New Issue
Block a user