forked from xwp/wp-customize-posts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.ruleset.xml
More file actions
27 lines (24 loc) · 815 Bytes
/
phpcs.ruleset.xml
File metadata and controls
27 lines (24 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>
<ruleset name="Customize Posts Plugin">
<rule ref="WordPress-Core">
<exclude name="Squiz.Commenting.LongConditionClosingComment" />
</rule>
<rule ref="WordPress.WP.I18n">
<exclude-pattern>*/php/theme-support/*</exclude-pattern>
<properties>
<property name="text_domain" value="customize-posts,default" />
</properties>
</rule>
<rule ref="WordPress.NamingConventions.ValidHookName">
<properties>
<property name="additionalWordDelimiters" value="-." />
</properties>
</rule>
<rule ref="WordPress-Docs" />
<rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
<severity>0</severity>
</rule>
<exclude-pattern>*/dev-lib/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>