From 878d241cc197dca13687d6d859ef8f60c1724a92 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Thu, 7 Feb 2019 09:42:29 +0100 Subject: [PATCH] Fix code style --- src/Symfony/Bridge/PhpUnit/bin/simple-phpunit | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit b/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit index c6cfc72f00ce..4784f75dffc6 100755 --- a/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit +++ b/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit @@ -93,14 +93,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__ if ($PHPUNIT_VERSION >= 8.0) { // Fix compatibility to custom TestRunner for PhpUnit 8 $testRunnerFile = 'src/TextUI/TestRunner.php'; - file_put_contents( - $testRunnerFile, - str_replace( - 'final class TestRunner', - 'class TestRunner', - file_get_contents($testRunnerFile) - ) - ); + file_put_contents($testRunnerFile, str_replace('final class TestRunner', 'class TestRunner', file_get_contents($testRunnerFile))); } file_put_contents('phpunit', <<<'EOPHP'