Skip to content

Commit

Permalink
Add more rulesets
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Mar 21, 2021
1 parent dbcce40 commit aa758f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Wdes/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<description>Wdes coding standard</description>

<config name="installed_paths" value="../../slevomat/coding-standard"/>
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
<rule ref="SlevomatCodingStandard.PHP.UselessSemicolon"/>
<rule ref="SlevomatCodingStandard.Functions.StaticClosure"/>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/>
<rule ref="SlevomatCodingStandard.PHP.TypeCast"/>
Expand Down Expand Up @@ -101,6 +104,7 @@
<rule ref="PSR2.Methods.MethodDeclaration"/>
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
<rule ref="PSR2.Namespaces.UseDeclaration"/>
<rule ref="Squiz.Strings.DoubleQuoteUsage" />
<rule ref="Squiz.PHP.CommentedOutCode">
<properties>
<property name="maxPercentage" value="50"/>
Expand Down

0 comments on commit aa758f0

Please sign in to comment.