File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 55 <arg name =" extensions" value =" php" />
66 <!-- Treat all files as UTF-8. -->
77 <config name =" encoding" value =" utf-8" />
8+ <arg name =" tab-width" value =" 4" />
89 <!-- Show progress. -->
910 <arg value =" p" />
1011 <exclude-pattern type =" relative" >^\.git/*</exclude-pattern >
3132 <rule ref =" Generic.Files.ByteOrderMark" />
3233 <rule ref =" Generic.Commenting.Todo" />
3334 <rule ref =" Generic.Commenting.Fixme" />
35+ <rule ref =" Generic.WhiteSpace.DisallowSpaceIndent" />
36+ <rule ref =" Generic.WhiteSpace.ScopeIndent" >
37+ <properties >
38+ <property name =" indent" value =" 4" />
39+ <property name =" tabIndent" value =" true" />
40+ </properties >
41+ </rule >
3442 <rule ref =" Zend.Files.ClosingTag" />
3543 <rule ref =" Squiz.Commenting" >
3644 <exclude name =" Squiz.Commenting.PostStatementComment.Found" />
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <ruleset xmlns =" http://pmd.sf.net/ruleset/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" name =" Standard PHPMD" xsi : schemaLocation =" http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xsi : noNamespaceSchemaLocation =" http://pmd.sf.net/ruleset_xml_schema.xsd" >
2+ <ruleset xmlns =" http://pmd.sf.net/ruleset/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" name =" Standard PHPMD" xsi : schemaLocation =" http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" xsi : noNamespaceSchemaLocation =" http://pmd.sf.net/ruleset_xml_schema.xsd" >
33 <description >
44 Standard PHPMD
55 </description >
2323 <property name =" allow-unused-foreach-variables" value =" true" />
2424 </properties >
2525 </rule >
26+ <rule ref =" rulesets/naming.xml/ShortVariable" >
27+ <priority >1</priority >
28+ <properties >
29+ <property name =" exceptions" value =" is" />
30+ </properties >
31+ </rule >
2632</ruleset >
You can’t perform that action at this time.
0 commit comments