Skip to content

Commit b5eae7d

Browse files
committed
Add some adjustments to code style, general excluded rules
1 parent 2fc4d6b commit b5eae7d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lib/phpDocumentor/ruleset.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,23 @@
88

99
<!-- Import Doctrine coding standard (base) -->
1010
<rule ref="Doctrine">
11+
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSame" />
12+
<exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix" />
13+
<exclude name="SlevomatCodingStandard.TypeHints.UselessConstantTypeHint.UselessDocComment" />
14+
</rule>
15+
16+
<rule ref="Generic.Formatting.SpaceAfterNot">
17+
<properties>
18+
<property name="spacing" value="0" />
19+
</properties>
20+
</rule>
21+
22+
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
23+
<exclude-pattern>**/*_.php</exclude-pattern>
24+
</rule>
25+
26+
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
27+
<exclude-pattern>*/tests/unit/*.php</exclude-pattern>
28+
<exclude-pattern>*/tests/integration/*.php</exclude-pattern>
1129
</rule>
1230
</ruleset>

0 commit comments

Comments
 (0)