Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Console] Open CompleteCommand for custom outputs#43923
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
GromNaN commentedNov 4, 2021
You should add a test, right? |
Uh oh!
There was an error while loading.Please reload this page.
bd2cad0 tod3e4574Comparewouterj commentedNov 4, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks for the reviews. All should be fixed now. status: needs review |
fabpot commentedNov 4, 2021
Can you fix the tests? The output has changed a bit. |
d3e4574 to1f58312Comparewouterj commentedNov 4, 2021
Ooh, not again 😣 . Should be green now |
fabpot commentedNov 4, 2021
Thank you@wouterj. |
stof commentedNov 4, 2021
@wouterj as we now make the CompletionOutputInterface an extension point where third-party code can register their own implementation, I think we need to add the constructor with no argument in the interface, to enforce that signature (as the instantiation is done in the CompleteCommand |
Uh oh!
There was an error while loading.Please reload this page.
Having this feature in 5.4 is especially great, as it will allow Composer 2.2 to use this feature as well.
If we in the future add fish or zsh support, it would be very cool if these can be "backported" by Composer. Keeping the
$completionOutputsproperty closed would permit this, while this little change opens up adding custom output supports outside the Symfony source code.