Skip to content

Commit 1114577

Browse files
remove references to RC of Symfony 7.4 and 8.0
1 parent 51c0ca5 commit 1114577

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Test/MakerTestEnvironment.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -406,13 +406,7 @@ private function determineMissingDependencies(): array
406406

407407
public function getTargetSkeletonVersion(): ?string
408408
{
409-
$symfonyVersion = $_SERVER['SYMFONY_VERSION'] ?? '';
410-
411-
return match (true) {
412-
str_starts_with($symfonyVersion, '^7.4.') && str_contains($symfonyVersion, 'RC') => '7.4.x-dev',
413-
str_starts_with($symfonyVersion, '^8.0.') && str_contains($symfonyVersion, 'RC') => '8.0.x-dev',
414-
default => $symfonyVersion,
415-
};
409+
return $_SERVER['SYMFONY_VERSION'] ?? '';
416410
}
417411

418412
private function composerRequireMakerBundle(string $projectDirectory): void

0 commit comments

Comments
 (0)