mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Update Flex endpoint
This commit is contained in:
@@ -19,41 +19,6 @@
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_VERSION=6.5');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
"phpunit.xml.dist": {
|
||||
"contents": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
@@ -92,6 +57,41 @@
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"bin/phpunit": {
|
||||
"contents": [
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {",
|
||||
" echo \"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
"}",
|
||||
"",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_VERSION=6.5');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_REMOVE=symfony/yaml');",
|
||||
"}",
|
||||
"if (false === getenv('SYMFONY_PHPUNIT_DIR')) {",
|
||||
" putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');",
|
||||
"}",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
},
|
||||
".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
|
||||
},
|
||||
"tests/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
|
||||
Reference in New Issue
Block a user