8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77320cb commit 2ca14a6Copy full SHA for 2ca14a6
src/Symfony/Bridge/PhpUnit/bin/simple-phpunit
@@ -100,6 +100,18 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
100
if ($exit) {
101
exit($exit);
102
}
103
+ if ($PHPUNIT_VERSION >= 8.0) {
104
+ // Fix compatibility to custom TestRunner for PhpUnit 8
105
+ $testRunnerFile = 'src/TextUI/TestRunner.php';
106
+ file_put_contents(
107
+ $testRunnerFile,
108
+ str_replace(
109
+ 'final class TestRunner',
110
+ 'class TestRunner',
111
+ file_get_contents($testRunnerFile)
112
+ )
113
+ );
114
+ }
115
file_put_contents('phpunit', <<<'EOPHP'
116
<?php
117
0 commit comments