Skip to content

Conversation

@phansys
Copy link
Contributor

@phansys phansys commented Jul 14, 2015

Removed note about "else if" since it is already part of PSR-2.

@Ocramius
Copy link
Member

@phansys no code changes needed?

@phansys
Copy link
Contributor Author

phansys commented Jul 15, 2015

Maybe this declaration should be removed, but I'm not sure why there is a specific declaration since the whole PSR-2 CS is marked before:

<!-- Import PSR-2 coding standard (base) -->
<rule ref="PSR2"/>

<!-- Disallow else if in favour elseif -->
<rule ref="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed">
    <type>error</type>
</rule>

@Ocramius
Copy link
Member

If PSR2 is imported then we're fine.

@Ocramius Ocramius self-assigned this Jul 15, 2015
Ocramius added a commit that referenced this pull request Jul 15, 2015
@Ocramius Ocramius merged commit b1d2948 into doctrine:master Jul 15, 2015
@Ocramius
Copy link
Member

👍

@phansys phansys deleted the elseif_inherited branch July 15, 2015 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants