Skip to content

Commit

Permalink
Rules - enable more rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pekral committed Dec 26, 2024
1 parent 28fc587 commit f539faf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,4 +318,20 @@
<rule ref="Squiz.Functions.FunctionDeclaration" />
<rule ref="Squiz.Functions.LowercaseFunctionKeywords" />
<rule ref="SlevomatCodingStandard.Functions.NamedArgumentSpacing"/>

<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent">
<properties>
<property name="indent" value="4"/>
</properties>
</rule>


<rule ref="Generic.Metrics.NestingLevel">
<properties>
<property name="nestingLevel" value="10"/>
<property name="absoluteNestingLevel" value="10"/>
</properties>
</rule>


</ruleset>

0 comments on commit f539faf

Please sign in to comment.