mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -44,26 +44,7 @@
|
||||
"#!/usr/bin/env php",
|
||||
"<?php",
|
||||
"",
|
||||
"if (!ini_get('date.timezone')) {",
|
||||
" ini_set('date.timezone', 'UTC');",
|
||||
"}",
|
||||
"",
|
||||
"if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {",
|
||||
" if (PHP_VERSION_ID >= 80000) {",
|
||||
" require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';",
|
||||
" } else {",
|
||||
" define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');",
|
||||
" require PHPUNIT_COMPOSER_INSTALL;",
|
||||
" PHPUnit\\TextUI\\Command::main();",
|
||||
" }",
|
||||
"} else {",
|
||||
" if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {",
|
||||
" echo \"Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\\n\";",
|
||||
" exit(1);",
|
||||
" }",
|
||||
"",
|
||||
" require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';",
|
||||
"}",
|
||||
"require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';",
|
||||
""
|
||||
],
|
||||
"executable": true
|
||||
@@ -136,7 +117,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c6658a60fc9d594805370eacdf542c3d6b5c0869"
|
||||
"ref": "1117deb12541f35793eec9fff7494d7aa12283fc"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user