Skip to content

Commit

Permalink
MNT Update linting config
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville committed Oct 28, 2021
1 parent 15aff1b commit cbd408d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
<ruleset name="SilverStripe">
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>

<!-- base rules are PSR-12 -->
<rule ref="PSR12" >
<file>src</file>
<file>tests</file>

<!-- base rules are PSR-2 -->
<rule ref="PSR2">
<!-- Current exclusions -->
<!--<exclude name="PSR1.Files.SideEffects.FoundWithSymbols" />-->
<!--<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />-->
<exclude name="PSR1.Methods.CamelCapsMethodName"/>
</rule>
</ruleset>

0 comments on commit cbd408d

Please sign in to comment.