-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Fallback to default answers when unable to read input #36031
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
Conversation
c24c696
to
7248bb0
Compare
src/Symfony/Component/Console/Exception/MissingInputException.php
Outdated
Show resolved
Hide resolved
what about the fact that there is lots of code out there making decisions on |
7248bb0
to
8ddaa20
Compare
Valid point. Can you link some? |
Same argument I made in #36027 (comment) |
There are quite a few. I was just greping my vendor folder and there will obviously be third party instances of this too. |
Thanks for the list. I checked it and none of those commands should break:
|
Thank you @ostrolucky. |
Just attaching a patch for folks wanting to test this via a composer patch to v4.4.5. (this patch removes conflicting test files that would otherwise be in the diff) |
No need, you may just suffix PR url with .patch https://github.com/symfony/symfony/pull/36031.patch |
I tried that but it doesn't apply cleanly due to conflicting changes in the 4.4.x branch. My patch removes the conflicting test files. |
I've confirmed that this PR fixes the regression on my project, thanks. |
Alternative to #36027.
This fixes linked issues without having to revert fix for #30726. Successfully tested with composer script,
docker run
anddocker run -it
.