Skip to content

Commit c739e34

Browse files
committed
Do not set a PHPUnit version
The simple-phpunit binary already sets the correct PHPUnit version based on the PHP version
1 parent 9b2058e commit c739e34

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Test/MakerTestEnvironment.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,13 +373,19 @@ private function buildFlexSkeleton()
373373
$this->fs->symlink($rootPath.'/vendor/symfony/phpunit-bridge', $this->flexPath.'/vendor/symfony/phpunit-bridge');
374374
}
375375

376-
// temporarily ignoring indirect deprecations - see #237
377376
$replacements = [
377+
// temporarily ignoring indirect deprecations - see #237
378378
[
379379
'filename' => '.env.test',
380380
'find' => 'SYMFONY_DEPRECATIONS_HELPER=999999',
381381
'replace' => 'SYMFONY_DEPRECATIONS_HELPER=max[self]=0',
382382
],
383+
// do not explicitly set the PHPUnit version
384+
[
385+
'filename' => 'phpunit.xml.dist',
386+
'find' => '<server name="SYMFONY_PHPUNIT_VERSION" value="8.5" />',
387+
'replace' => '',
388+
],
383389
];
384390
$this->processReplacements($replacements, $this->flexPath);
385391
// end of temp code

0 commit comments

Comments
 (0)