Skip to content

Commit a177fd4

Browse files
committed
added some excludes,
fixed case-sensitivity of PEAR
1 parent 35a8da7 commit a177fd4

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

ForwardMedia/ruleset.xml

+11-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,22 @@
22
<ruleset name="Forward">
33
<description>PHP Coding Standard for FORWARD MEDIA</description>
44

5+
<exclude-pattern>*/typo3/sysext/*</exclude-pattern>
6+
<exclude-pattern>*/typo3conf/ext/crawler/*</exclude-pattern>
7+
<exclude-pattern>*/typo3conf/ext/direct_mail/*</exclude-pattern>
8+
<exclude-pattern>*/typo3conf/ext/gridelements/*</exclude-pattern>
9+
<exclude-pattern>*/typo3conf/ext/powermail/*</exclude-pattern>
10+
<exclude-pattern>*/typo3conf/ext/realurl/*</exclude-pattern>
11+
512
<!-- check for usage of undefined variables -->
613
<rule ref="VariableAnalysis">
714
<!--
815
allow unused variables, because the linter currently warns on unused
916
function arguments even if later defined arguments are used:
1017
https://github.com/sirbrillig/phpcs-variable-analysis/issues/21
1118
-->
12-
<exclude name="VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable"/>
19+
<exclude name="VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable" />
20+
<exclude name="VariableAnalysis.CodeAnalysis.VariableAnalysis.StaticOutsideClass" />
1321
</rule>
1422

1523
<!-- <rule ref="Generic.Arrays.DisallowLongArraySyntax" /> -->
@@ -74,8 +82,8 @@
7482
<rule ref="MySource.Strings.JoinStrings" />
7583

7684

77-
<rule ref="Pear.ControlStructures.ControlSignature" />
78-
<rule ref="Pear.Functions.ValidDefaultValue" />
85+
<rule ref="PEAR.ControlStructures.ControlSignature" />
86+
<rule ref="PEAR.Functions.ValidDefaultValue" />
7987

8088

8189
<rule ref="PSR1.Classes.ClassDeclaration" />

0 commit comments

Comments
 (0)