mirror of
https://codeberg.org/danielsiepmann/news-reader-php.git
synced 2024-11-21 19:56:09 +01:00
13 lines
426 B
PHP
Executable file
13 lines
426 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
|
|
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
|
|
exit(1);
|
|
}
|
|
|
|
if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
|
|
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
|
|
}
|
|
|
|
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';
|