8000 [FrameworkBundle] fixed suggesting deprecated WebServerBundle · symfony/symfony@134129b · GitHub
[go: up one dir, main page]

Skip to content

Commit 134129b

Browse files
jrushlowfabpot
authored andcommitted
[FrameworkBundle] fixed suggesting deprecated WebServerBundle
1 parent f35935f commit 134129b

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