mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
50 lines
3.3 KiB
JSON
50 lines
3.3 KiB
JSON
{
|
|
"locks": {
|
|
"phpunit/phpunit": {
|
|
"version": "4.7",
|
|
"recipe": {
|
|
"repo": "4.7",
|
|
"branch": "master",
|
|
"version": "4.7",
|
|
"ref": "b5b34fa22319ac1f7f6c180b30e160841c154a1e"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"phpunit/phpunit": {
|
|
"repository": "github.com/symfony/recipes",
|
|
"package": "phpunit/phpunit",
|
|
"version": "4.7",
|
|
"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\nKERNEL_CLASS='App\\Kernel'\nAPP_SECRET='$ecretf0rt3st'\nSYMFONY_DEPRECATIONS_HELPER=999999\nPANTHER_APP_ENV=panther\nPANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"phpunit.xml.dist": {
|
|
"contents": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->\n<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:noNamespaceSchemaLocation=\"vendor/phpunit/phpunit/phpunit.xsd\"\n backupGlobals=\"false\"\n colors=\"true\"\n bootstrap=\"tests/bootstrap.php\"\n>\n <php>\n <ini name=\"display_errors\" value=\"1\" />\n <ini name=\"error_reporting\" value=\"-1\" />\n <server name=\"APP_ENV\" value=\"test\" force=\"true\" />\n <server name=\"SHELL_VERBOSITY\" value=\"-1\" />\n </php>\n\n <testsuites>\n <testsuite name=\"Project Test Suite\">\n <directory>tests</directory>\n </testsuite>\n </testsuites>\n\n <filter>\n <whitelist processUncoveredFilesFromWhitelist=\"true\">\n <directory suffix=\".php\">src</directory>\n </whitelist>\n </filter>\n\n <listeners>\n <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />\n </listeners>\n\n <!-- Run `composer require symfony/panther` before enabling this extension -->\n <!--\n <extensions>\n <extension class=\"Symfony\\Component\\Panther\\ServerExtension\" />\n </extensions>\n -->\n</phpunit>\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"tests/bootstrap.php": {
|
|
"contents": "<?php\n\nuse Symfony\\Component\\Dotenv\\Dotenv;\n\nrequire dirname(__DIR__).'/vendor/autoload.php';\n\nif (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {\n require dirname(__DIR__).'/config/bootstrap.php';\n} elseif (method_exists(Dotenv::class, 'bootEnv')) {\n (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');\n}\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "phpunit/phpunit:4.7@github.com/symfony/recipes:master",
|
|
"is_contrib": false
|
|
}
|
|
}
|
|
} |