Skip to content

Commit 7ab7704

Browse files
authored
Update Code Sniff Rules
1 parent eccf956 commit 7ab7704

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

phpcs.xml

Lines changed: 11 additions & 1 deletion
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>
@@ -37,6 +37,16 @@
3737
</properties>
3838
</rule>
3939

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)