Skip to content

Commit 7a6b06c

Browse files
committed
updated
1 parent d63cc4b commit 7a6b06c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

codeat.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<rule ref="PEAR.NamingConventions">
7575
<exclude name="PEAR.NamingConventions.ValidClassName.Invalid" />
7676
<exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore" />
77+
<exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore" />
7778
</rule>
7879

7980
<rule ref="PEAR.Files.IncludingFile">
@@ -83,9 +84,10 @@
8384
<!-- https://github.com/wimg/PHPCompatibility/ -->
8485
<rule ref="PHPCompatibility">
8586
<exclude name="PHPCompatibility.PHP.EmptyNonVariable.Found" />
87+
<exclude name="PHPCompatibility.PHP.NewClosure.Found" />
8688
</rule>
87-
<!-- Check for cross-version support for PHP 5.6 and higher. -->
88-
<config name="testVersion" value="5.2-"/>
89+
<!-- Check for cross-version support for PHP 5.3 and higher. -->
90+
<config name="testVersion" value="5.3"/>
8991

9092
<rule ref="WordPress">
9193
<exclude name="Generic.Files.LineEndings.InvalidEOLChar" />

0 commit comments

Comments
 (0)