You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…efined (xabbuh)
This PR was merged into the 5.1 branch.
Discussion
----------
[Console] allow cursor to be used even when STDIN is not defined
| Q | A
| ------------- | ---
| Branch? | 5.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#37124
| License | MIT
| Doc PR |
This allows to use the `Cursor` class introduced in Symfony 5.1 even when the `STDIN` constant is not defined. We did a similar bugfix in the past in the `QuestionHelper` class in #10798.
Commits
-------
aff1ffa allow cursor to be used even when STDIN is not defined
Symfony version(s) affected:
symfony/console v5.1.0
Description
I'm keep getting his error on Laravel, I don't know if this should be reported to them or if this is a Symfony issue?
How to reproduce
Update to latest deps.
Possible Solution
I don't think the constant exists when using it as a dep, shouldn't it be checked if it is?
Additional context
Converting the constant works fine, but I don't think this is the solution:
The text was updated successfully, but these errors were encountered: