Skip to content

[Console] Make sure formatter is the same. #11272

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

Closed
wants to merge 1 commit into from
Closed

[Console] Make sure formatter is the same. #11272

wants to merge 1 commit into from

Conversation

akimsko
Copy link
Contributor

@akimsko akimsko commented Jul 2, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

The parent constructor will create a new formatter if the $formatter parameter is null.

This fix avoids that the formatter becomes 2 different instances in $this and $this->stderr, if null was passed to the constructor.

@Tobion
Copy link
Contributor

Tobion commented Jul 2, 2014

Looks good but please add a test for this

The parent constructor will create a new formatter if the $formatter parameter is null
This fix avoids that the formatter becomes 2 different instances in $this and $this->stderr
@akimsko
Copy link
Contributor Author

akimsko commented Jul 2, 2014

Test added. Squashed it into a single commit.

@Tobion
Copy link
Contributor

Tobion commented Jul 2, 2014

👍 for merge into 2.3

@stof
Copy link
Member

stof commented Jul 2, 2014

👍

@fabpot
Copy link
Member

fabpot commented Jul 2, 2014

Thank you @akimsko.

fabpot added a commit that referenced this pull request Jul 2, 2014
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #11272).

Discussion
----------

[Console] Make sure formatter is the same.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |
The parent constructor will create a new formatter if the $formatter parameter is null.

This fix avoids that the formatter becomes 2 different instances in $this and $this->stderr, if null was passed to the constructor.

Commits
-------

64328d9 [Console] Make sure formatter is the same
@fabpot fabpot closed this Jul 2, 2014
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.

4 participants