-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Warning when command alias is longer than commands name #15511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
your code does not work, because it only reads the aliases of the last command (and it breaks totally if there is no command at all btw, because the Anyway, code changes should be submitted as pull requests |
You are right of course about the premature "fix". I should have left it out because it distracted from my intention to find out if it is "bug or not". I will consider a pull request. Thanks. |
@dosten I did a quick test with the example from above - the warning is not displayed anymore. Problem solved! |
…command name (dosten) This PR was merged into the 2.7 branch. Discussion ---------- [Console] Fixed warning when command alias is longer than command name | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15511 | License | MIT Commits ------- ecfe944 Fixed warning when command alias is longer than command name
symfony git:(2.8)
When an alias of a command is longer than the commands name than there is a warning in the terminal output. The reason seems to be that the maximum width of the command column is only calculated using the "names".
Is this wanted behaviour? Are we using it wrong?
Hackfix while debugging for me was changing TextDescriptor::getColumnWidth
to
Tests still pass...
The text was updated successfully, but these errors were encountered: