mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 23:56:25 +03:00
71 lines
3.2 KiB
JSON
71 lines
3.2 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|