-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpcs.xml
32 lines (28 loc) · 1.08 KB
/
phpcs.xml
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
28
29
30
31
32
<?xml version="1.0"?>
<ruleset name="Yarn Microsub">
<description>Yarn Microsub Standards</description>
<file>./yarns-microsub.php</file>
<file>./includes/</file>
<file>./templates/</file>
<arg value="sp"/> <!-- Show sniff and progress -->
<arg name="colors"/>
<arg name="parallel" value="8"/><!-- Enables parallel processing when available for faster results. -->
<exclude-pattern>*/includes/*\.(inc|css|js|svg)</exclude-pattern>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="5.6-"/>
<rule ref="PHPCompatibilityWP"/>
<config name="minimum_supported_wp_version" value="4.9"/>
<rule ref="WordPress.WP.DeprecatedFunctions" />
<rule ref="WordPress-Core">
<exclude name="WordPress.Security.ValidatedSanitizedInput" />
<exclude name="WordPress.Security.NonceVerification" />
</rule>
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false" />
</properties>
</rule>
<rule ref="WordPress-Extra" />
<rule ref="WordPress.WP.I18n"/>
<config name="text_domain" value="yarns-microsub-server,default"/>
</ruleset>