You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I've been using Laravel 11 and running the php artisan command fails and results in the following message: The command defined in "Enqueue\LaravelQueue\Command\SetupBrokerCommand" cannot have an empty name..
Looks like implementing the AsCommand attributes to the Symfony commands broke the Laravel commands. The reason for that gotta be the fact that Laravel commands are extended from the base Symfony classes, where the AsCommand attribute is defined and therefore their name cannot be resolved. Creating custom commands that extend the default Laravel commands and implement the AsCommand attribute fixes this problem, but it would be nice to have that working properly out-of-the-box though.
The text was updated successfully, but these errors were encountered:
Hi! I've been using Laravel 11 and running the
php artisan
command fails and results in the following message:The command defined in "Enqueue\LaravelQueue\Command\SetupBrokerCommand" cannot have an empty name.
.Looks like implementing the
AsCommand
attributes to the Symfony commands broke the Laravel commands. The reason for that gotta be the fact that Laravel commands are extended from the base Symfony classes, where theAsCommand
attribute is defined and therefore their name cannot be resolved. Creating custom commands that extend the default Laravel commands and implement theAsCommand
attribute fixes this problem, but it would be nice to have that working properly out-of-the-box though.The text was updated successfully, but these errors were encountered: