8000 [BugFix][Console] Fix type hint for OutputFormatter in OutputStream constructors by canni · Pull Request #2912 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[BugFix][Console] Fix type hint for OutputFormatter in OutputStream constructors #2912

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
Dec 18, 2011
Merged

[BugFix][Console] Fix type hint for OutputFormatter in OutputStream constructors #2912

merged 1 commit into from
Dec 18, 2011

Conversation

canni
Copy link
Contributor
@canni canni commented Dec 17, 2011

I consider this as a bug, cause it disables ability to change formatter implementation

BugFix: yes
Feature addition: no
Sysmfony2 test pass: yes

@fabpot
Copy link
Member
fabpot commented Dec 18, 2011

It's not a bug fix as existing code that extend these classes will now fail.

@stof
Copy link
Member
stof commented Dec 18, 2011

@fabpot does the constructor enforces its signature for child classes ? I don't think so.

@fabpot
Copy link
Member
fabpot commented Dec 18, 2011

@stof: right, I've read too fast. It's ok for constructors.

fabpot added a commit that referenced this pull request Dec 18, 2011
Commits
-------

e417153 [BugFix][Console] Fix type hint for output formatter

Discussion
----------

[BugFix][Console] Fix type hint for OutputFormatter in OutputStream constructors

I consider this as a bug, cause it disables ability to change formatter implementation

BugFix: yes
Feature addition: no
Sysmfony2 test pass: yes

---------------------------------------------------------------------------

by fabpot at 2011/12/18 00:23:05 -0800

It's not a bug fix as existing code that extend these classes will now fail.

---------------------------------------------------------------------------

by stof at 2011/12/18 03:51:38 -0800

@fabpot does the constructor enforces its signature for child classes ? I don't think so.
@fabpot fabpot merged commit e417153 into symfony:2.0 Dec 18, 2011
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.

3 participants
0