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