Skip to content

Commit

Permalink
fix(psr2): silence rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Jun 20, 2023
1 parent 5f8f069 commit e81a996
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CodeatCodingStandard/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<rule ref="Generic.Commenting.Fixme"/>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<rule ref="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody"/>
<properties>
<property name="indent" value="4"/>
<property name="tabIndent" value="true"/>
Expand Down Expand Up @@ -233,7 +232,10 @@
</properties>
</rule>

<rule ref="SlevomatCodingStandard">
<rule ref="PSR12">
<exclude name="PSR12.Classes.ClassInstantiation.MissingParentheses" />
</rule>
<rule ref="PSR2">
<exclude name="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody"/>
</rule>
</ruleset>

0 comments on commit e81a996

Please sign in to comment.