2019-02-23 16:49:38 +01:00
|
|
|
#!/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')) {
|
2019-09-23 13:17:53 +02:00
|
|
|
putenv('SYMFONY_PHPUNIT_VERSION=7.5');
|
2019-02-23 16:49:38 +01:00
|
|
|
}
|
|
|
|
if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {
|
|
|
|
putenv('SYMFONY_PHPUNIT_REMOVE=');
|
|
|
|
}
|
|
|
|
if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
|
|
|
|
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
|
|
|
|
}
|
|
|
|
|
|
|
|
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
|