symfony/phpunit-bridge: set umask(0000) when debug is true

This commit is contained in:
Thomas Calvet
2023-01-02 09:07:30 +01:00
parent 0b2fc1d5cb
commit 57e4d9ee96
5 changed files with 20 additions and 0 deletions
@@ -9,3 +9,7 @@ if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}
if ($_SERVER['APP_DEBUG']) {
umask(0000);
}