8000 bug #35538 [FrameworkBundle] fixed suggesting deprecated WebServerBun… · symfony/symfony@9d7e622 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d7e622

Browse files
committed
bug #35538 [FrameworkBundle] fixed suggesting deprecated WebServerBundle (jrushlow)
This PR was squashed before being merged into the 5.1-dev branch (closes #35538). Discussion ---------- [FrameworkBundle] fixed suggesting deprecated WebServerBundle | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #35495 | License | MIT | Doc PR | Removed suggestion to install `symfony/web-server-bundle` in console missing packages suggestions. The web server bundle was deprecated and no longer works with Symfony 5.x, . Commits ------- 134129b [FrameworkBundle] fixed suggesting deprecated WebServerBundle
2 parents 9b0a75c + 134129b commit 9d7e622

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/EventListener/SuggestMissingPackageSubscriber.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ final class SuggestMissingPackageSubscriber implements EventSubscriberInterface
3939
'_default' => ['MakerBundle', 'symfony/maker-bundle --dev'],
4040
],
4141
'server' => [
42-
'dump' => ['Debug Bundle', 'symfony/debug-bundle --dev'],
43-
'_default' => ['WebServerBundle', 'symfony/web-server-bundle --dev'],
42+
'_default' => ['Debug Bundle', 'symfony/debug-bundle --dev'],
4443
],
4544
];
4645

src/Symfony/Bundle/FrameworkBundle/Tests/Console/ApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function testRunOnlyWarnsOnUnregistrableCommandAtTheEnd()
208208

209209
public function testSuggestingPackagesWithExactMatch()
210210
{
211-
$result = $this->createEventForSuggestingPackages('server:dump', []);
211+
$result = $this->createEventForSuggestingPackages('doctrine:fixtures', []);
212212
$this->assertRegExp('/You may be looking for a command provided by/', $result);
213213
}
214214

0 commit comments

Comments
 (0)
0