Skip to content

Commit 960308c

Browse files
committed
build: disable rule
The CamelCaseMethodName rule was disabled to avoid alerts on function names in tests. Closes #2
1 parent dcb5e5a commit 960308c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

phpmd.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?xml version="1.0"?>
22
<ruleset name="PHPMD rule set"
3-
xmlns="http://pmd.sf.net/ruleset/1.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
6-
http://pmd.sf.net/ruleset_xml_schema.xsd"
7-
xsi:noNamespaceSchemaLocation="
3+
xmlns="http://pmd.sf.net/ruleset/1.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
5+
http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:noNamespaceSchemaLocation="
86
http://pmd.sf.net/ruleset_xml_schema.xsd">
97
<description>Coding standard.</description>
108

@@ -34,7 +32,7 @@
3432
<rule ref="rulesets/controversial.xml/Superglobals"/>
3533
<rule ref="rulesets/controversial.xml/CamelCaseClassName"/>
3634
<rule ref="rulesets/controversial.xml/CamelCasePropertyName"/>
37-
<rule ref="rulesets/controversial.xml/CamelCaseMethodName"/>
35+
<!--<rule ref="rulesets/controversial.xml/CamelCaseMethodName"/>-->
3836
<rule ref="rulesets/controversial.xml/CamelCaseParameterName"/>
3937
<rule ref="rulesets/controversial.xml/CamelCaseVariableName"/>
4038

0 commit comments

Comments
 (0)