Skip to content
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

[9.x] Remove argument assignment for console #44888

Merged
merged 2 commits into from
Nov 9, 2022
Merged

Conversation

driesvints
Copy link
Member

This PR reverts #44662 by @bert-w. It seems this doesn't exactly works as expected because incorrect arguments are assigned: #44877. I spent a great deal today looking into a fix but always managed to run into failing integration tests. Since this part of Laravel is too brittle it seemed to me to be the best choice to revert the PR to get back to the state it was instead of having a half baked implementation.

If we ever want to pursue this we'll need to make sure that the arguments of the input doesn't contains the command name as the issue in #44877 describes.

@bert-w
Copy link
Contributor

bert-w commented Nov 9, 2022

Ok reverting is the best option then. I'll take a look again when I have time; i agree that some of the current implementation seems a bit brittle. So does some of the code in Symfony because they also seem to just ignore any exception following from try { $input->bind(...) } catch (ExceptionInterface) {...}, on multiple occasions in their code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants