Repository navigation
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
47 lines (42 loc) · 1.88 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
47 lines (42 loc) · 1.88 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
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<ruleset name="MRN Contextual Content Editor">
<description>Release-readiness WordPress checks for the MRN Contextual Content Editor plugin.</description>
<arg value="ps"/>
<arg name="basepath" value="./"/>
<arg name="parallel" value="1"/>
<arg name="extensions" value="php"/>
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/zip/*</exclude-pattern>
<exclude-pattern>*/ai-data/*</exclude-pattern>
<exclude-pattern>*/outputs/*</exclude-pattern>
<exclude-pattern>*/test-results/*</exclude-pattern>
<exclude-pattern>*/playwright-report/*</exclude-pattern>
<exclude-pattern>.tmp/*</exclude-pattern>
<config name="minimum_supported_wp_version" value="6.0"/>
<config name="testVersion" value="8.1-"/>
<rule ref="Generic.PHP.Syntax"/>
<rule ref="Generic.VersionControl.GitMergeConflict"/>
<rule ref="WordPress.DB.PreparedSQL"/>
<rule ref="WordPress.PHP.DevelopmentFunctions"/>
<rule ref="WordPress.PHP.DiscouragedPHPFunctions"/>
<rule ref="WordPress.PHP.DontExtract"/>
<rule ref="WordPress.PHP.IniSet"/>
<rule ref="WordPress.PHP.NoSilencedErrors"/>
<rule ref="WordPress.Security.EscapeOutput"/>
<rule ref="WordPress.Security.NonceVerification"/>
<rule ref="WordPress.Security.SafeRedirect"/>
<rule ref="WordPress.Security.ValidatedSanitizedInput"/>
<rule ref="WordPress.WP.AlternativeFunctions"/>
<rule ref="WordPress.WP.Capabilities"/>
<rule ref="WordPress.WP.DeprecatedClasses"/>
<rule ref="WordPress.WP.DeprecatedFunctions"/>
<rule ref="WordPress.WP.DeprecatedParameters"/>
<rule ref="WordPress.WP.DeprecatedParameterValues"/>
<rule ref="WordPress.WP.DiscouragedConstants"/>
<rule ref="WordPress.WP.DiscouragedFunctions"/>
<rule ref="WordPress.WP.EnqueuedResourceParameters"/>
<rule ref="WordPress.WP.EnqueuedResources"/>
</ruleset>