-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
33 lines (27 loc) · 1.16 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
33 lines (27 loc) · 1.16 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
<?xml version="1.0"?>
<ruleset name="Simple Comment Editing Coding Standards">
<description>PHP_CodeSniffer rules for the Simple Comment Editing WordPress plugin.</description>
<file>.</file>
<exclude-pattern>*/dist/*</exclude-pattern>
<exclude-pattern>*/lib/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/phpstan-stubs.php</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<arg name="extensions" value="php" />
<arg name="basepath" value="." />
<arg name="colors" />
<arg name="parallel" value="8" />
<arg value="ps" />
<config name="minimum_supported_wp_version" value="6.5" />
<config name="testVersion" value="7.2-" />
<config name="text_domain" value="simple-comment-editing" />
<config name="ignore_warnings_on_exit" value="1" />
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="Universal.Arrays.DisallowShortArraySyntax" />
<exclude name="Universal.Files.SeparateFunctionsFromOO.Mixed" />
</rule>
<rule ref="WordPress-Docs" />
<rule ref="PHPCompatibilityWP" />
</ruleset>