Skip to content

Commit 027f377

Browse files
authored
Update Code Sniff Rules
1 parent 55eb8ee commit 027f377

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

phpcs.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<ruleset name="WordPress Plugin Coding Standards">
3-
<description>WordPress coding standards with spaces enforcement for Optimizations ACE MC plugin</description>
3+
<description>WordPress coding standards</description>
44

55
<!-- Files to check -->
66
<file>.</file>
@@ -36,7 +36,17 @@
3636
<property name="tabIndent" value="false"/>
3737
</properties>
3838
</rule>
39-
39+
40+
<!-- Disallow Rule Flagging Space Indents -->
41+
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent">
42+
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
43+
</rule>
44+
45+
<!-- Disallow Rule Flagging Space Indents -->
46+
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed">
47+
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed"/>
48+
</rule>
49+
4050
<!-- Disallow inline tabs -->
4151
<rule ref="Universal.WhiteSpace.DisallowInlineTabs">
4252
</rule>

0 commit comments

Comments
 (0)