Files
symfony-flex-recipes/archived/phpunit.phpunit/85ff91bb42bc9044f4e945a7ffb2a799f4557b55.json
github-action[bot]andgithub-action[bot] a5298a919f Update Flex archives
2021-12-18 17:20:12 +00:00

81 lines
3.5 KiB
JSON

{
"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"
}
}
}