Skip to content

Commit 1cc5e8d

Browse files
committed
Merge pull request #22 from nkovacs/property-declaration
only exclude the Underscore part of PSR2.Classes.PropertyDeclaration
2 parents 5c4fa33 + 1d35bea commit 1cc5e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Yii2/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<rule ref="PSR2">
66
<!-- Property names MUST start with an initial underscore if they are private. -->
7-
<exclude name="PSR2.Classes.PropertyDeclaration"/>
7+
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
88

99
<!-- Opening parenthesis of a multi-line function call must be the last content on the line. -->
1010
<!-- Closing parenthesis of a multi-line function call must be on a line by itself. -->

0 commit comments

Comments
 (0)