From fda5b20c3974bb6269d2ff9e29dd61a495af1cf4 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 28 Sep 2019 18:12:11 +0200 Subject: [PATCH] sync phpunit script with master --- phpunit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpunit b/phpunit index d334dc072093..b07ca07d06a2 100755 --- a/phpunit +++ b/phpunit @@ -17,5 +17,8 @@ if (!getenv('SYMFONY_PHPUNIT_VERSION')) { putenv('SYMFONY_PHPUNIT_VERSION=6.5'); } } +if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) { + putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1'); +} putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit'); require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';