Update Flex archives

This commit is contained in:
github-action[bot]
2021-12-18 17:20:12 +00:00
parent 2e150e398b
commit a5298a919f
957 changed files with 118270 additions and 0 deletions
@@ -0,0 +1,136 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS='App\\Kernel'",
"APP_SECRET='s$cretf0rt3st'",
"SYMFONY_DEPRECATIONS_HELPER=999999",
""
],
"executable": false
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"// Load cached env vars if the .env.local.php file exists",
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {",
" $_SERVER += $env;",
" $_ENV += $env;",
"} elseif (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
"} else {",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv();",
"",
" // load all the .env files",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "007e7829be320a660ba017aa9877d0acd488c4eb"
}
}
}
@@ -0,0 +1,89 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"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.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "00fdb38c318774cd39f475a753028a5e8d25d47c"
}
}
}
@@ -0,0 +1,40 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
}
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "056ff0755c2e2a4025199aee78c247e83abdffea"
}
}
}
@@ -0,0 +1,59 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"Adding <comment>phpunit/phpunit</> as a dependency is <comment>discouraged</>.",
"You should require <fg=green>simple-phpunit</> instead."
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "07e681480e205e17703679882f4c1d1b71bcc4d5"
}
}
}
@@ -0,0 +1,53 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"version_aliases": [
"4.8",
"5.0",
"5.1",
"5.2",
"5.3",
"5.4",
"5.5",
"5.6",
"5.7",
"6.0",
"6.1"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/4.8/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"KERNEL_DIR\" value=\"etc/\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "17602fd00e6ea3aa184b02cec79597dd0ea6568f"
}
}
}
@@ -0,0 +1,64 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require phpunit</>"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "21c0a65782a07f3fbd305c59e93139ee49dd3a95"
}
}
}
@@ -0,0 +1,40 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
}
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/4.8/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"KERNEL_DIR\" value=\"etc/\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "248630f85e0903c4d873b56c8469bf2b7884672e"
}
}
}
@@ -0,0 +1,53 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"version_aliases": [
"4.8",
"5.0",
"5.1",
"5.2",
"5.3",
"5.4",
"5.5",
"5.6",
"5.7",
"6.0",
"6.1"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"KERNEL_DIR\" value=\"etc/\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "2b660cbbc30235f699d7715c3c95fa357e92f865"
}
}
}
@@ -0,0 +1,138 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"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
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"// Load cached env vars if the .env.local.php file exists",
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {",
" foreach ($env as $k => $v) {",
" $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v);",
" }",
"} elseif (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
"} else {",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv(false);",
"",
" // load all the .env files",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER += $_ENV;",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "33b1f53500a7b822985048baf55456aa5281405a"
}
}
}
@@ -0,0 +1,93 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "3b372539f3886b07a7d80ff58d70abb6f2e4219a"
}
}
}
@@ -0,0 +1,55 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"Adding <comment>phpunit/phpunit</> as a dependency is <comment>discouraged</>.",
"You should require <fg=green>simple-phpunit</> instead."
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "3c2896f8a53d48f493178c67290500dcbec92698"
}
}
}
@@ -0,0 +1,56 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"Adding <comment>phpunit/phpunit</> as a dependency is <comment>discouraged</>.",
"You should require <fg=green>simple-phpunit</> instead."
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "40a052beae0f5a946ee97b7d7f076c464ea61119"
}
}
}
@@ -0,0 +1,93 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Suggest: install Symfony's PHPUnit Bridge instead of phpunit/phpunit </>",
"<bg=yellow;fg=black> </>",
"",
"Symfony's PHPUnit bridge is a wrapper around PHPUnit that adds reports for deprecated code",
"calls, an isolated PHPUnit that's separate from the dependencies of your app and more.",
"See: https://symfony.com/doc/current/components/phpunit_bridge.html.",
"",
" * <fg=blue>If you want to install the PHPUnit bridge</>:",
" 1. Remove PHPUnit: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Install Symfony's bridge: <comment>composer require --dev symfony/phpunit-bridge</>"
]
},
"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.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "477e1387616f39505ba79715f43f124836020d71"
}
}
}
@@ -0,0 +1,96 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" convertDeprecationsToExceptions=\"false\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"9.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <coverage processUncoveredFiles=\"true\">",
" <include>",
" <directory suffix=\".php\">src</directory>",
" </include>",
" </coverage>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "68450b8fef6804047d9424c55d758c28b4340791"
}
}
}
@@ -0,0 +1,135 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"src/": "%SRC_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS='App\\Kernel'",
"APP_SECRET='s$cretf0rt3st'",
"SYMFONY_DEPRECATIONS_HELPER=999999",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"src/.bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"src/.bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (!array_key_exists('APP_ENV', $_SERVER)) {",
" $_SERVER['APP_ENV'] = $_ENV['APP_ENV'] ?? null;",
"}",
"",
"if ('prod' !== $_SERVER['APP_ENV']) {",
" if (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('The \"APP_ENV\" environment variable is not set to \"prod\". Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
" }",
"",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv();",
"",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $_SERVER['APP_ENV'] ?: $_ENV['APP_ENV'] ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "6bc11edaafb96a970c5b55755f7827bbbd05352c"
}
}
}
@@ -0,0 +1,80 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS=App\\\\Kernel",
"APP_SECRET='s$cretf0rt3st'",
"SHELL_VERBOSITY=-1",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/4.7/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"App\\Kernel::bootstrapEnv('test');",
""
],
"executable": false
}
},
"ref": "85ff91bb42bc9044f4e945a7ffb2a799f4557b55"
}
}
}
@@ -0,0 +1,135 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS='App\\Kernel'",
"APP_SECRET='s$cretf0rt3st'",
"SYMFONY_DEPRECATIONS_HELPER=999999",
""
],
"executable": false
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (!array_key_exists('APP_ENV', $_SERVER)) {",
" $_SERVER['APP_ENV'] = $_ENV['APP_ENV'] ?? null;",
"}",
"",
"if ('prod' !== $_SERVER['APP_ENV']) {",
" if (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('The \"APP_ENV\" environment variable is not set to \"prod\". Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
" }",
"",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv();",
"",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $_SERVER['APP_ENV'] ?: $_ENV['APP_ENV'] ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "89239f0cf2759efccc76b9944083bfcc4d180f9d"
}
}
}
@@ -0,0 +1,95 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"9.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <coverage processUncoveredFiles=\"true\">",
" <include>",
" <directory suffix=\".php\">src</directory>",
" </include>",
" </coverage>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "8b7e50ac5f82e6d41bad88344f7e868c02ae1af5"
}
}
}
@@ -0,0 +1,70 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>./src/</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "8ebc9f29f52f2fff3acdb3e0d1198ddf9e7f81b7"
}
}
}
@@ -0,0 +1,135 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"src/": "%SRC_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS='App\\Kernel'",
"APP_SECRET='s$cretf0rt3st'",
"SHELL_VERBOSITY=-1",
"SYMFONY_DEPRECATIONS_HELPER=999999",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"src/.bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"src/.bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (!array_key_exists('APP_ENV', $_SERVER)) {",
" $_SERVER['APP_ENV'] = $_ENV['APP_ENV'] ?? null;",
"}",
"",
"if ('prod' !== $_SERVER['APP_ENV']) {",
" if (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('The \"APP_ENV\" environment variable is not set to \"prod\". Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
" }",
"",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv();",
"",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $_SERVER['APP_ENV'] ?: $_ENV['APP_ENV'] ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "97c7708bac00cc9534c0d951135011ce68028cb4"
}
}
}
@@ -0,0 +1,70 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>./src/</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "9d0927a518f631b4ae6508dac377b021761ff6d1"
}
}
}
@@ -0,0 +1,44 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
}
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "a5708058bd6f16863618096090e825c549a231e1"
}
}
}
@@ -0,0 +1,97 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" convertDeprecationsToExceptions=\"false\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"9.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <coverage processUncoveredFiles=\"true\">",
" <include>",
" <directory suffix=\".php\">src</directory>",
" </include>",
" </coverage>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
}
}
}
@@ -0,0 +1,63 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"Adding <comment>phpunit/phpunit</> as a dependency is <comment>discouraged</>.",
"You should require <fg=green>simple-phpunit</> instead."
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "b3335743624d140ae2d4eb5abe64e93fc99c6620"
}
}
}
@@ -0,0 +1,94 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"display_errors\" value=\"1\" />",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "b5b34fa22319ac1f7f6c180b30e160841c154a1e"
}
}
}
@@ -0,0 +1,52 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"version_aliases": [
"4.8",
"5.0",
"5.1",
"5.2",
"5.3",
"5.4",
"5.5",
"5.6",
"5.7",
"6.0"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/4.8/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"KERNEL_DIR\" value=\"etc/\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "bdc63ef87238180af6e4c6be7b37d5befb3cf68d"
}
}
}
@@ -0,0 +1,93 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "bdd7703b5e90615cf71a968aeeec47a912d7aa57"
}
}
}
@@ -0,0 +1,70 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "c276fa48d4713de91eb410289b3b1834acb7e403"
}
}
}
@@ -0,0 +1,53 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
},
"version_aliases": [
"4.8",
"5.0",
"5.1",
"5.2",
"5.3",
"5.4",
"5.5",
"5.6",
"5.7",
"6.0",
"6.1"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"</phpunit>",
""
],
"executable": false
}
},
"ref": "e2d7900b1a78540ec7f5e985565e183162125ef8"
}
}
}
@@ -0,0 +1,80 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS=App\\\\Kernel",
"APP_SECRET='s$cretf0rt3st'",
"SHELL_VERBOSITY=-1",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"App\\Kernel::bootstrapEnv('test');",
""
],
"executable": false
}
},
"ref": "e55422d7ee468d33aa0c5ffc550eccddc1410848"
}
}
}
@@ -0,0 +1,138 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"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
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"// Load cached env vars if the .env.local.php file exists",
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {",
" foreach ($env as $k => $v) {",
" $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v);",
" }",
"} elseif (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
"} else {",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv(false);",
"",
" // load all the .env files",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER += $_ENV;",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "eb29b06389d7f387aa8d570e109d8ef3cbebc452"
}
}
}
@@ -0,0 +1,138 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"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
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"// Load cached env vars if the .env.local.php file exists",
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {",
" foreach ($env as $k => $v) {",
" $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v);",
" }",
"} elseif (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
"} else {",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv(false);",
"",
" // load all the .env files",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER += $_ENV;",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "f1546d78502f904f37f7b47a42b1444cbf1d3423"
}
}
}
@@ -0,0 +1,96 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
" convertDeprecationsToExceptions=\"false\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <server name=\"SYMFONY_PHPUNIT_REMOVE\" value=\"\" />",
" <server name=\"SYMFONY_PHPUNIT_VERSION\" value=\"9.5\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <coverage processUncoveredFiles=\"true\">",
" <include>",
" <directory suffix=\".php\">src</directory>",
" </include>",
" </coverage>",
"",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "f58af82edfa7463d9266a0d05c239bd149051d11"
}
}
}
@@ -0,0 +1,136 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"files": {
".env.test": {
"contents": [
"# define your env variables for the test env here",
"KERNEL_CLASS='App\\Kernel'",
"APP_SECRET='s$cretf0rt3st'",
"SYMFONY_DEPRECATIONS_HELPER=999999",
""
],
"executable": false
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"// Load cached env vars if the .env.local.php file exists",
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php')) {",
" $_SERVER += $env;",
" $_ENV += $env;",
"} elseif (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
"} else {",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv();",
"",
" // load all the .env files",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.5/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "f6f9ee3a511e9d9ad6a53d92fbaa1a709ed8c1ca"
}
}
}
@@ -0,0 +1,138 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.cache"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require --dev phpunit</>"
]
},
"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
},
"config/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"// Load cached env vars if the .env.local.php file exists",
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
"if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV'] ?? null) === ($env['APP_ENV'] ?? null))) {",
" foreach ($env as $k => $v) {",
" $_ENV[$k] = $_ENV[$k] ?? (isset($_SERVER[$k]) && 0 !== strpos($k, 'HTTP_') ? $_SERVER[$k] : $v);",
" }",
"} elseif (!class_exists(Dotenv::class)) {",
" throw new RuntimeException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
"} else {",
" $path = dirname(__DIR__).'/.env';",
" $dotenv = new Dotenv(false);",
"",
" // load all the .env files",
" if (method_exists($dotenv, 'loadEnv')) {",
" $dotenv->loadEnv($path);",
" } else {",
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
"",
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
" $dotenv->load($path);",
" } else {",
" $dotenv->load($p);",
" }",
"",
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
" }",
"",
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
" $dotenv->load($p);",
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
" }",
"",
" if (file_exists($p = \"$path.$env\")) {",
" $dotenv->load($p);",
" }",
"",
" if (file_exists($p = \"$path.$env.local\")) {",
" $dotenv->load($p);",
" }",
" }",
"}",
"",
"$_SERVER += $_ENV;",
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"config/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "fbcd1725e7f3b1dc029213d18ec41af695a2067f"
}
}
}
@@ -0,0 +1,96 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
".env.test": ".env.test",
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml",
".phpunit.result.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",
"PANTHER_APP_ENV=panther",
"PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots",
""
],
"executable": false
},
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"tests/bootstrap.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <server name=\"APP_ENV\" value=\"test\" force=\"true\" />",
" <server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist processUncoveredFilesFromWhitelist=\"true\">",
" <directory suffix=\".php\">src</directory>",
" </whitelist>",
" </filter>",
"",
" <!-- Run `composer require symfony/phpunit-bridge` before enabling this extension -->",
" <!--",
" <listeners>",
" <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
" </listeners>",
" -->",
"",
" <!-- Run `composer require symfony/panther` before enabling this extension -->",
" <!--",
" <extensions>",
" <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />",
" </extensions>",
" -->",
"</phpunit>",
""
],
"executable": false
},
"tests/bootstrap.php": {
"contents": [
"<?php",
"",
"use Symfony\\Component\\Dotenv\\Dotenv;",
"",
"require dirname(__DIR__).'/vendor/autoload.php';",
"",
"if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {",
" require dirname(__DIR__).'/config/bootstrap.php';",
"} elseif (method_exists(Dotenv::class, 'bootEnv')) {",
" (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
"}",
""
],
"executable": false
}
},
"ref": "fc18a41d910bd168b6d83b09330d3dd892ddbcdd"
}
}
}
@@ -0,0 +1,70 @@
{
"manifests": {
"phpunit/phpunit": {
"manifest": {
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist",
"tests/": "tests/"
},
"gitignore": [
"/phpunit.xml"
],
"post-install-output": [
"<bg=yellow;fg=black> </>",
"<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged. </>",
"<bg=yellow;fg=black> </>",
"",
" * <fg=blue>Instead</>:",
" 1. Remove it now: <comment>composer remove phpunit/phpunit</>",
" 2. Use Symfony's bridge: <comment>composer require phpunit</>"
]
},
"files": {
"phpunit.xml.dist": {
"contents": [
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
"",
"<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->",
"<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"",
" xsi:noNamespaceSchemaLocation=\"http://schema.phpunit.de/6.1/phpunit.xsd\"",
" backupGlobals=\"false\"",
" colors=\"true\"",
" bootstrap=\"vendor/autoload.php\"",
">",
" <php>",
" <ini name=\"error_reporting\" value=\"-1\" />",
" <env name=\"KERNEL_CLASS\" value=\"App\\Kernel\" />",
" <env name=\"APP_ENV\" value=\"test\" />",
" <env name=\"APP_DEBUG\" value=\"1\" />",
" <env name=\"APP_SECRET\" value=\"s$cretf0rt3st\" />",
" <env name=\"SHELL_VERBOSITY\" value=\"-1\" />",
" <!-- define your env variables for the test env here -->",
" </php>",
"",
" <testsuites>",
" <testsuite name=\"Project Test Suite\">",
" <directory>tests/</directory>",
" </testsuite>",
" </testsuites>",
"",
" <filter>",
" <whitelist>",
" <directory>./src/</directory>",
" </whitelist>",
" </filter>",
"</phpunit>",
""
],
"executable": false
},
"tests/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "fc35828893288f0bb786291377433ee8d7e14738"
}
}
}