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

Reset question validator attempts only for actual stdin #37160

Merged
merged 1 commit into from Jun 15, 2020

Conversation

ostrolucky
Copy link
Contributor

Q A
Branch? 4/4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #37046
License MIT
Doc PR

Let's see what CI says. Works for me locally with phpunit and when running such command manually

@fabpot
Copy link
Member

fabpot commented Jun 15, 2020

Thank you @ostrolucky.

@fabpot fabpot merged commit 52612b1 into symfony:4.4 Jun 15, 2020
nicolas-grekas added a commit that referenced this pull request Jun 15, 2020
…l stdin (bis) (nicolas-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

[Console] Reset question validator attempts only for actual stdin (bis)

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

#37160 [fails](https://travis-ci.org/github/symfony/symfony/jobs/698492147), this should fix it by looking at the actual input stream.

Commits
-------

867642e [Console] Reset question validator attempts only for actual stdin (bis)
@fabpot fabpot mentioned this pull request Jun 15, 2020
weierophinney added a commit to weierophinney/laminas-cli that referenced this pull request Jun 15, 2020
symfony/console 5.1.2 incorporates
symfony/symfony#37160, which fixes
symfony/symfony#37046,
removing the need for the workarounds introduced in
TypeHintedParamAwareInput.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@xabbuh xabbuh added the Console label Jun 16, 2020
This was referenced Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants