-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
feat: #43086 add blacklisting of reserved shortcuts for InputOptions in commands #43091
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
feat: #43086 add blacklisting of reserved shortcuts for InputOptions in commands #43091
Conversation
Hey! To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done? Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review. Cheers! Carsonbot |
Adjust Tests: The There is a conflict with text indent to let the test pass and Code Standard from fabbot.io |
…ved shortcuts for InputOptions in commands
Hey! I think @yoannrenard has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
I feel like this is solving a problem that is not worth solving. |
This is an idea how to solve #43086
The blacklisting of reserved shortcuts for InputOptions in commands is done on initialisation and not at runtime.
I do not like the fact of the hardcodet arrays.
It would be better to read them from getDefaultInputDefinition() in
Symfony\Component\Console\Application
. If possible.There is space for more improvements. Please share your ideas.