-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
39 lines (33 loc) · 1.24 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
39 lines (33 loc) · 1.24 KB
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
33
34
35
36
37
38
39
<?xml version="1.0"?>
<ruleset name="WPSeed Boilerplate">
<description>Strictest WordPress PHPCS standards for WPSeed boilerplate plugin</description>
<!-- File scanning -->
<file>.</file>
<exclude-pattern>/vendor/</exclude-pattern>
<exclude-pattern>/node_modules/</exclude-pattern>
<exclude-pattern>/tests/</exclude-pattern>
<exclude-pattern>*.min.js</exclude-pattern>
<exclude-pattern>*.min.css</exclude-pattern>
<!-- Text domain for i18n validation -->
<arg name="text-domain" value="wpseed" />
<!-- Minimum WordPress version -->
<config name="minimum_supported_wp_version" value="6.4" />
<!-- Enable all three standards in order -->
<rule ref="WordPress-Core" />
<rule ref="WordPress-Docs" />
<rule ref="WordPress-Extra">
<properties>
<property name="strict" value="true" />
</properties>
</rule>
<!-- Plugin-specific overrides (minimised) -->
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" value="wpseed" />
</properties>
</rule>
<!-- Output options -->
<arg name="extensions" value="php" />
<arg value="spvs" />
<arg name="parallel" value="4" />
</ruleset>