Skip to content

Commit e6cadc7

Browse files
authored
Update phpcs.xml
1 parent 5772ccd commit e6cadc7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

phpcs.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
<property name="tabIndent" value="false"/>
3737
</properties>
3838
</rule>
39+
40+
<!-- Disallow inline tabs -->
41+
<rule ref="Universal.WhiteSpace.DisallowInlineTabs">
42+
</rule>
3943

4044
<!-- Additional WordPress-specific spacing rules -->
4145
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing"/>
@@ -82,6 +86,8 @@
8286

8387
<!-- WordPress PHP compatibility -->
8488
<rule ref="PHPCompatibilityWP"/>
89+
<include-pattern>*\.php$</include-pattern>
90+
</rule>
8591
<config name="minimum_supported_wp_version" value="6.5"/>
8692
<config name="testVersion" value="7.4-"/>
8793

@@ -94,4 +100,4 @@
94100
<!-- Use colors in output -->
95101
<arg name="colors"/>
96102

97-
</ruleset>
103+
</ruleset>

0 commit comments

Comments
 (0)