-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
27 lines (21 loc) · 796 Bytes
/
phpcs.xml.dist
File metadata and controls
27 lines (21 loc) · 796 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="Supervisor">
<description>The coding standards for Supervisor plugin.</description>
<arg name="extensions" value="php"/>
<arg value="s"/>
<file>.</file>
<exclude-pattern>/(vendor|languages|tests|node_modules)/*</exclude-pattern>
<exclude-pattern>/index\.php</exclude-pattern>
<exclude-pattern>/supervisor\.php</exclude-pattern>
<rule ref="WPForms">
<exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching"/>
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed"/>
</rule>
<rule ref="WPForms.PHP.ValidateDomain">
<properties>
<property name="supervisor" value="src/"/>
</properties>
</rule>
<config name="minimum_supported_wp_version" value="5.5"/>
<config name="testVersion" value="7.2-"/>
</ruleset>