Skip to content

Commit cbf74a4

Browse files
committed
Custom PHP_CodeSniffer rules
1 parent af180d7 commit cbf74a4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

phpcs.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PEAR-StreamVar">
3+
<rule ref="PEAR">
4+
<!-- we keep the old php4-style variable names for now -->
5+
<exclude name="PEAR.NamingConventions.ValidFunctionName.PublicUnderscore"/>
6+
<exclude name="PEAR.NamingConventions.ValidVariableName.PublicUnderscore"/>
7+
</rule>
8+
</ruleset>

0 commit comments

Comments
 (0)