diff --git a/symfony/phpunit-bridge/3.3/tests/bootstrap.php b/symfony/phpunit-bridge/3.3/tests/bootstrap.php index 469dccee4..3181151d9 100644 --- a/symfony/phpunit-bridge/3.3/tests/bootstrap.php +++ b/symfony/phpunit-bridge/3.3/tests/bootstrap.php @@ -9,3 +9,7 @@ } elseif (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); } + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +} diff --git a/symfony/phpunit-bridge/4.1/tests/bootstrap.php b/symfony/phpunit-bridge/4.1/tests/bootstrap.php index 469dccee4..3181151d9 100644 --- a/symfony/phpunit-bridge/4.1/tests/bootstrap.php +++ b/symfony/phpunit-bridge/4.1/tests/bootstrap.php @@ -9,3 +9,7 @@ } elseif (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); } + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +} diff --git a/symfony/phpunit-bridge/4.3/tests/bootstrap.php b/symfony/phpunit-bridge/4.3/tests/bootstrap.php index 469dccee4..3181151d9 100644 --- a/symfony/phpunit-bridge/4.3/tests/bootstrap.php +++ b/symfony/phpunit-bridge/4.3/tests/bootstrap.php @@ -9,3 +9,7 @@ } elseif (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); } + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +} diff --git a/symfony/phpunit-bridge/5.1/tests/bootstrap.php b/symfony/phpunit-bridge/5.1/tests/bootstrap.php index 469dccee4..3181151d9 100644 --- a/symfony/phpunit-bridge/5.1/tests/bootstrap.php +++ b/symfony/phpunit-bridge/5.1/tests/bootstrap.php @@ -9,3 +9,7 @@ } elseif (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); } + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +} diff --git a/symfony/phpunit-bridge/5.3/tests/bootstrap.php b/symfony/phpunit-bridge/5.3/tests/bootstrap.php index 469dccee4..3181151d9 100644 --- a/symfony/phpunit-bridge/5.3/tests/bootstrap.php +++ b/symfony/phpunit-bridge/5.3/tests/bootstrap.php @@ -9,3 +9,7 @@ } elseif (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); } + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +}