diff --git a/archived/phpunit.phpunit/bb22cf8d8c554a623b427d5f3416b538f5525233.json b/archived/phpunit.phpunit/bb22cf8d8c554a623b427d5f3416b538f5525233.json new file mode 100644 index 00000000..eb86a3dc --- /dev/null +++ b/archived/phpunit.phpunit/bb22cf8d8c554a623b427d5f3416b538f5525233.json @@ -0,0 +1,89 @@ +{ + "manifests": { + "phpunit/phpunit": { + "manifest": { + "copy-from-recipe": { + ".env.test": ".env.test", + "phpunit.dist.xml": "phpunit.dist.xml", + "tests/": "tests/" + }, + "gitignore": [ + "/phpunit.xml", + "/.phpunit.cache/" + ] + }, + "files": { + ".env.test": { + "contents": [ + "# define your env variables for the test env here", + "KERNEL_CLASS='App\\Kernel'", + "APP_SECRET='$ecretf0rt3st'", + "SYMFONY_DEPRECATIONS_HELPER=999999", + "" + ], + "executable": false + }, + "phpunit.dist.xml": { + "contents": [ + "", + "", + "", + "", + " ", + " ", + " ", + " ", + " ", + " ", + "", + " ", + " ", + " tests", + " ", + " ", + "", + " ", + " ", + " src", + " ", + " ", + "", + " ", + " ", + "", + "" + ], + "executable": false + }, + "tests/bootstrap.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", + "" + ], + "executable": false + } + }, + "ref": "bb22cf8d8c554a623b427d5f3416b538f5525233" + } + } +} diff --git a/phpunit.phpunit.10.0.json b/phpunit.phpunit.10.0.json index d91a631b..eb86a3dc 100644 --- a/phpunit.phpunit.10.0.json +++ b/phpunit.phpunit.10.0.json @@ -32,6 +32,8 @@ " xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"", " backupGlobals=\"false\"", " colors=\"true\"", + " failOnNotice=\"true\"", + " failOnWarning=\"true\"", " bootstrap=\"tests/bootstrap.php\"", " cacheDirectory=\".phpunit.cache\"", ">", @@ -40,8 +42,6 @@ " ", " ", " ", - " ", - " ", " ", "", " ", @@ -50,7 +50,7 @@ " ", " ", "", - " ", + " ", " ", " src", " ", @@ -74,12 +74,16 @@ "if (method_exists(Dotenv::class, 'bootEnv')) {", " (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');", "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", "" ], "executable": false } }, - "ref": "b786e93f0b38027289867faca488b8c511436fe0" + "ref": "bb22cf8d8c554a623b427d5f3416b538f5525233" } } }