-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
32 lines (25 loc) · 1.04 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
32 lines (25 loc) · 1.04 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
<?xml version="1.0"?>
<ruleset name="Weave Starter Plugin">
<description>WordPress Coding Standards for Weave Starter Plugin.</description>
<!-- Scan all PHP files in the project. -->
<file>.</file>
<!-- Exclude generated and third-party directories. -->
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/build/*</exclude-pattern>
<!-- Use parallel processing for speed. -->
<arg name="parallel" value="8"/>
<arg name="extensions" value="php"/>
<arg value="ps"/>
<!-- Use WordPress Coding Standards. -->
<rule ref="WordPress">
<!-- Allow short array syntax []. -->
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
</rule>
<!-- Minimum supported WordPress version. -->
<config name="minimum_wp_version" value="6.6"/>
<!-- Text domain for i18n checks. -->
<config name="text_domain" value="weave-starter-plugin"/>
<!-- Prefixes for functions, hooks, and options. -->
<config name="prefixes" value="weave_starter_plugin,weave_starter,WeaveStarterPlugin"/>
</ruleset>