Files
Ryan Weaver 9334e8fb3a Symfony 4 support (#300)
* Attempting Symfony 4 support

* testing beta versions

* Removing Symfony 2.3 support and not extending the base
RouterDebugCommand

RouterDebugCommand became final in Symfony 3.4. But it was only
extended for 2.3 support anyways.

* Explicitly making public services public

... so that they remain public in Symfony 4.0

* using latest LTS

* requested changes

* registering commands as services and using DI instead of container

* re-allowing Symfony 2.7 and making sure we don't allow PHP version 8 yet
;)

* updating last test

* trying to test with simple-phpunit

* Fix PHPUnit configuration

* Revert execute permissions on phpunit command

* shortening phpdoc
2017-12-13 09:21:48 +01:00

10 lines
400 B
PHP
Executable File

#!/usr/bin/env php
<?php
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
exit(1);
}
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';