Skip to content

Commit

Permalink
chore(phpunit): remove lines for SYMFONY_PHPUNIT_REMOVE
Browse files Browse the repository at this point in the history
It's a following of #1000.

The `phpunit` binary looks [like this](https://github.com/symfony/recipes/blob/master/symfony/phpunit-bridge/4.3/bin/phpunit) for Symfony 4.3, we don't need `SYMFONY_PHPUNIT_REMOVE` lines.

I also think we don't need `SYMFONY_PHPUNIT_DIR` lines but I'm not really sure.
  • Loading branch information
Kocal committed Jun 11, 2019
1 parent 3e36a18 commit 9d7ea6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/phpunit
Expand Up @@ -5,9 +5,7 @@ if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-php
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
exit(1);
}
if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {
putenv('SYMFONY_PHPUNIT_REMOVE=');
}

if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
}
Expand Down

0 comments on commit 9d7ea6c

Please sign in to comment.