8000 Fix code style · symfony/symfony@878d241 · GitHub
[go: up one dir, main page]

Skip to content

Commit 878d241

Browse files
Fix code style
1 parent 353ba54 commit 878d241

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
9393
if ($PHPUNIT_VERSION >= 8.0) {
9494
// Fix compatibility to custom TestRunner for PhpUnit 8
9595
$testRunnerFile = 'src/TextUI/TestRunner.php';
96-
file_put_contents(
97-
$testRunnerFile,
98-
str_replace(
99-
'final class TestRunner',
100-
'class TestRunner',
101-
file_get_contents($testRunnerFile)
102-
)
103-
);
96+
file_put_contents($testRunnerFile, str_replace('final class TestRunner', 'class TestRunner', file_get_contents($testRunnerFile)));
10497
}
10598
file_put_contents('phpunit', <<<'EOPHP'
10699
<?php

0 commit comments

Comments
 (0)
0