From 52704f4774627ec70e4bdb57f8027d0017ab224e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 11 Feb 2023 22:32:41 +0100 Subject: [PATCH] Upgraded symfony/phpunit-bridge recipe --- symfony.lock | 14 +++++++------- tests/bootstrap.php | 4 ++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/symfony.lock b/symfony.lock index e0254638..666f67ac 100644 --- a/symfony.lock +++ b/symfony.lock @@ -591,18 +591,18 @@ "version": "v5.3.8" }, "symfony/phpunit-bridge": { - "version": "5.3", + "version": "5.4", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", + "branch": "main", "version": "5.3", - "ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96" + "ref": "819d3d2ffa4590eba0b8f4f3e5e89415ee4e45c3" }, "files": [ - "./.env.test", - "./bin/phpunit", - "./phpunit.xml.dist", - "./tests/bootstrap.php" + ".env.test", + "bin/phpunit", + "phpunit.xml.dist", + "tests/bootstrap.php" ] }, "symfony/polyfill-ctype": { diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 469dccee..3181151d 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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); +}