Skip to content

Commit 9d7ea6c

Browse files
authored
chore(phpunit): remove lines for SYMFONY_PHPUNIT_REMOVE
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.
1 parent 3e36a18 commit 9d7ea6c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/phpunit

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-php
55
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
66
exit(1);
77
}
8-
if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {
9-
putenv('SYMFONY_PHPUNIT_REMOVE=');
10-
}
8+
119
if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
1210
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
1311
}

0 commit comments

Comments
 (0)