Import phpunit binary
[airlibre] / bin / phpunit
1 #!/usr/bin/env php
2 <?php
3
4 if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
5 echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
6 exit(1);
7 }
8
9 if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
10 putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
11 }
12
13 require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';