File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1212 <arg name =" colors" />
1313 <arg name =" extensions" value =" php" />
1414 <arg value =" s" />
15+ <arg name =" tab-width" value =" 2" />
1516
1617 <!-- Identify PHP cross-version compatibility issues in projects based on the WordPress CMS -->
1718 <rule ref =" PHPCompatibilityWP" />
2425 <!-- Exclude unwanted rules from the Wordpress ruleset. -->
2526 <rule ref =" WordPress" >
2627 <exclude name =" Generic.WhiteSpace.DisallowSpaceIndent" />
28+ <exclude name =" PEAR.Functions.FunctionCallSignature.Indent" />
29+ <exclude name =" PEAR.Functions.FunctionCallSignature.OpeningIndent" />
30+ <exclude name =" Universal.WhiteSpace.PrecisionAlignment" />
2731 <exclude name =" WordPress.Arrays.ArrayIndentation.ItemNotAligned" />
2832 <exclude name =" WordPress.Arrays.ArrayIndentation.MultiLineArrayItemNotAligned" />
29- <exclude name =" WordPress.WhiteSpace.PrecisionAlignment" />
3033 </rule >
3134
3235 <!-- Override indent settings to default to two spaces. -->
Original file line number Diff line number Diff line change 1212 <arg name =" colors" />
1313 <arg name =" extensions" value =" php" />
1414 <arg value =" s" />
15+ <arg name =" tab-width" value =" 2" />
1516
1617 <!-- Default tab width for indentation fixes and such. -->
1718 <arg name =" tab-width" value =" 2" />
2021 If you're not evaluating anything in the string, use single quotes. -->
2122 <rule ref =" Squiz.Strings.DoubleQuoteUsage.NotRequired" />
2223
24+ <rule ref =" Generic.WhiteSpace.DisallowTabIndent" >
25+
2326 <!-- Covers rule: Your indentation should always reflect logical structure. -->
2427 <rule ref =" Generic.WhiteSpace.ScopeIndent" >
2528 <properties >
You can’t perform that action at this time.
0 commit comments