]> Raphaƫl G. Git Repositories - airlibre/blob - bin/phpunit
Force version 4.4 for symfony bundles: finder, filesystem, http-foundation, var-dumpe...
[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';