Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ab706b

Browse files
committed
bug #30881 [Messenger] Fixed DIC config when the messenger is not installed (lyrixx)
This PR was merged into the 4.3-dev branch. Discussion ---------- [Messenger] Fixed DIC config when the messenger is not installed | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | EUFOSSA --- Fix: ``` In getConsole_Command_MessengerStopWorkersService.php line 9: Attempted to load class "StopWorkersCommand" from namespace "Symfony\Component\Messenger\Command". Did you forget a "use" statement for another namespace? ``` Commits ------- 292021b [Messenger] Fixed DIC config when the messenger is not installed
2 parents 45fd75e + 292021b commit 9ab706b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ public function load(array $configs, ContainerBuilder $container)
280280
} else {
281281
$container->removeDefinition('console.command.messenger_consume_messages');
282282
$container->removeDefinition('console.command.messenger_debug');
283+
$container->removeDefinition('console.command.messenger_stop_workers');
283284
$container->removeDefinition('console.command.messenger_setup_transports');
284285
}
285286

0 commit comments

Comments
 (0)