15 lines
618 B
PHP
Executable File
15 lines
618 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
// Cache-Id: https://github.com/symfony/phpunit-bridge/commit/2a45e94c3cde63d8cdfa729e51b80f85b1ab37f6
|
|
|
|
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
|
|
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
|
|
exit(1);
|
|
}
|
|
if (PHP_VERSION_ID >= 70000 && !getenv('SYMFONY_PHPUNIT_VERSION')) {
|
|
putenv('SYMFONY_PHPUNIT_VERSION=6.0');
|
|
}
|
|
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
|
|
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
|