mirror of
https://github.com/symfony/recipes.git
synced 2026-09-19 19:16:25 +03:00
Update Flex endpoint
This commit is contained in:
@@ -41,9 +41,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\";",
|
||||
@@ -124,7 +128,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6df817da0ca2b8cddbb6e690051d7f2b45530d06"
|
||||
"ref": "221b9cc0a623f567e83ccd61a8ac82a9a91e2b5b"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user