]>
Raphaƫl G. Git Repositories - airlibre/blob - bin/phpunit
4 if (!ini_get('date.timezone')) {
5 ini_set('date.timezone', 'UTC');
8 if (is_file(dirname(__DIR__
).'/vendor/phpunit/phpunit/phpunit')) {
9 if (PHP_VERSION_ID
>= 80000) {
10 require dirname(__DIR__
).'/vendor/phpunit/phpunit/phpunit';
12 define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__
).'/vendor/autoload.php');
13 require PHPUNIT_COMPOSER_INSTALL
;
14 PHPUnit\TextUI\Command
::main();
17 if (!is_file(dirname(__DIR__
).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
18 echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
22 require dirname(__DIR__
).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';