Skip to content

[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

Merged
merged 1 commit into from
Apr 8, 2015

Conversation

1ed
Copy link
Contributor

@1ed 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 -

@nicolas-grekas
Copy link
Member

Thanks! Can you please amend the patch reported by fabbot also?

@ogizanagi
Copy link
Contributor

@1ed : Thanks ! 👍

@1ed
Copy link
Contributor Author

1ed commented Apr 7, 2015

@nicolas-grekas done, but something is wrong with fabbot and does not run again after a forced push.

@fabpot
Copy link
Member

fabpot commented Apr 7, 2015

👍

@@ -316,8 +316,8 @@ private function getProgressBar()
private function getTerminalWidth()
{
$application = new Application();
list ($width, $height) = $application->getTerminalDimensions();
list($width, $height) = $application->getTerminalDimensions();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$height is never used...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 😃

@sstok
Copy link
Contributor

sstok commented Apr 7, 2015

👍

@sstok sstok mentioned this pull request Apr 7, 2015
3 tasks
@fabpot
Copy link
Member

fabpot commented Apr 8, 2015

Thank you @1ed.

@fabpot fabpot merged commit a52b658 into symfony:2.7 Apr 8, 2015
fabpot added a commit that referenced this pull request Apr 8, 2015
… (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
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.

6 participants