mirror of
https://github.com/FriendsOfSymfony/FOSJsRoutingBundle.git
synced 2026-03-24 06:42:12 +01:00
* 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
10 lines
400 B
PHP
Executable File
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';
|