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
This PR was merged into the 3.4 branch.
Discussion
----------
[Console] Fix QuestionHelper::disableStty()
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no>
| Tickets | -
| License | MIT
| Doc PR | -
We broke it when adding `Terminal::hasSttyAvailable()`.
Let's fix it on 3.4 and move it to terminal on master, as suggested in #36977
Commits
-------
5d93b61 [Console] Fix QuestionHelper::disableStty()
Symfony version(s) affected: 3.4 and newer
Description
We have a
disableStty
method in QuestionHelper: https://github.com/symfony/console/blob/master/Helper/QuestionHelper.php#L93-L96But, since 3.4 QuestionHelper doesn't check the state of this flag, it checks Terminal instead: https://github.com/symfony/console/blob/master/Helper/QuestionHelper.php#L112
Terminal doesn't provide a
disableStty
method: https://github.com/symfony/console/blob/master/Terminal.phpPossible Solution
Add
disableStty
to theTerminal
class?The text was updated successfully, but these errors were encountered: