mirror of
https://github.com/symfony/recipes.git
synced 2026-09-19 11:06:33 +03:00
Update Flex endpoint
This commit is contained in:
@@ -44,9 +44,13 @@
|
||||
"}",
|
||||
"",
|
||||
"if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {",
|
||||
" define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');",
|
||||
" require PHPUNIT_COMPOSER_INSTALL;",
|
||||
" PHPUnit\\TextUI\\Command::main();",
|
||||
" 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\";",
|
||||
@@ -125,7 +129,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "01dfaa98c58f7a7b5a9b30e6edb7074af7ed9819"
|
||||
"ref": "5e6e46e7bd453880707d920c99be0da5afaaaa22"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user