phpunit 612 B

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