瀏覽代碼

update phpunit-bridge

François Drouhard 1 年之前
父節點
當前提交
8c03784e68
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 2 2
      symfony.lock
  2. 4 0
      tests/bootstrap.php

+ 2 - 2
symfony.lock

@@ -397,12 +397,12 @@
         "version": "v5.3.3"
     },
     "symfony/phpunit-bridge": {
-        "version": "5.4",
+        "version": "6.2",
         "recipe": {
             "repo": "github.com/symfony/recipes",
             "branch": "main",
             "version": "5.3",
-            "ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96"
+            "ref": "819d3d2ffa4590eba0b8f4f3e5e89415ee4e45c3"
         },
         "files": [
             ".env.test",

+ 4 - 0
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);
+}