Skip to content

Commit

Permalink
Add some adjustments to code style, general excluded rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Feb 2, 2020
1 parent 2fc4d6b commit b5eae7d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/phpDocumentor/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,23 @@

<!-- Import Doctrine coding standard (base) -->
<rule ref="Doctrine">
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSame" />
<exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix" />
<exclude name="SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessDocComment" />
</rule>

<rule ref="Generic.Formatting.SpaceAfterNot">
<properties>
<property name="spacing" value="0" />
</properties>
</rule>

<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>**/*_.php</exclude-pattern>
</rule>

<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>*/tests/unit/*.php</exclude-pattern>
<exclude-pattern>*/tests/integration/*.php</exclude-pattern>
</rule>
</ruleset>

0 comments on commit b5eae7d

Please sign in to comment.