Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Feb 7, 2019
1 parent 353ba54 commit 878d241
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Symfony/Bridge/PhpUnit/bin/simple-phpunit
Expand Up @@ -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'
<?php
Expand Down

0 comments on commit 878d241

Please sign in to comment.