-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Fixed SymfonyStyle when get terminal width fails #14250
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
1ed
commented
Apr 7, 2015
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | - |
License | MIT |
Doc PR | - |
Thanks! Can you please amend the patch reported by fabbot also? |
@1ed : Thanks ! 👍 |
@nicolas-grekas done, but something is wrong with fabbot and does not run again after a forced push. |
👍 |
@@ -316,8 +316,8 @@ private function getProgressBar() | |||
private function getTerminalWidth() | |||
{ | |||
$application = new Application(); | |||
list ($width, $height) = $application->getTerminalDimensions(); | |||
list($width, $height) = $application->getTerminalDimensions(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$height
is never used...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 😃
👍 |
Thank you @1ed. |
… (1ed) This PR was merged into the 2.7 branch. Discussion ---------- [Console] Fixed SymfonyStyle when get terminal width fails | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- a52b658 [Console] Fixed SymfonyStyle when get terminal width fails