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
Description
Console commands that register their namespace as a number will be renumbered by an array_merge() operation, such that if there is only one numeric namespace, it will always be renumbered to 0. This is visible when the list command emits text output.
How to reproduce
Add a Console command with a numeric namespace.
Run bin/console.
Possible Solution
In ApplicationDescription, line 134 should be $namespacedCommands = $globalCommands + $namespacedCommands; because avoiding the array_merge() prevents the renumbering.