Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Commit f2d0087

Browse files
committed
Fix rule conflict in empty class
1 parent ad1c753 commit f2d0087

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

php/WavevisionCodingStandard/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</rule>
1010
<rule ref="PSR2">
1111
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
12+
<exclude name="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody"/>
1213
</rule>
1314
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
1415
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>

phpstorm/style.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<option name="BLANK_LINES_AFTER_PACKAGE" value="1" />
3333
<option name="BLANK_LINES_AROUND_FIELD" value="1" />
3434
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
35+
<option name="BLANK_LINES_BEFORE_CLASS_END" value="1" />
3536
<option name="CALL_PARAMETERS_WRAP" value="5" />
3637
<option name="CALL_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
3738
<option name="CALL_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />

0 commit comments

Comments
 (0)