Skip to content

Conversation

@fabiang
Copy link

@fabiang fabiang commented Jun 13, 2014

Hello,

I've added the verbosity level shorthand methods to the interface "Symfony\Component\Console\Output\OutputInterface" as they should always be implemented by classes implementing the interface. Also it makes unit test easier and avoids warnings like:

"The method isVerbose() does not seem to exist on object<Symfony\Compon...put\OutputInterface>." (Scrutinizer-Cis PHP Analyzer)

As this possibly could break backwards compatibility I like to merge into master.

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

@stof
Copy link
Member

stof commented Jun 13, 2014

They cannot be added in the interface until 3.0 as this is a BC break in the main API of the component.

Adding them in the interface for 3.0 is already planned

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