-
Notifications
You must be signed in to change notification settings - Fork 15
/
phpcs.xml
48 lines (39 loc) · 1.51 KB
/
phpcs.xml
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
48
<?xml version="1.0"?>
<ruleset name="Ultimate Member CS">
<description>Best practices Ultimate Member Coding Standards</description>
<config name="testVersion" value="7.4-"/>
<arg value="ps"/>
<arg name="colors"/>
<arg name="parallel" value="100"/>
<arg name="extensions" value="php"/>
<arg name="cache" value=".phpcs.cache"/>
<exclude-pattern>\.github/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>documentor/*</exclude-pattern>
<exclude-pattern>\.idea/*</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>build/</exclude-pattern>
<exclude-pattern>includes/blocks/*</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>build/*</exclude-pattern>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress"/>
<rule ref="PHPCompatibilityWP"/>
<rule ref="WordPress.Files.FileName.InvalidClassFileName">
<exclude-pattern>src/</exclude-pattern>
<exclude-pattern>src/*</exclude-pattern>
<exclude-pattern>um-extended.php</exclude-pattern>
<exclude-pattern>tests/php/src/</exclude-pattern>
</rule>
<rule ref="Generic.Commenting">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
<exclude-pattern>i18n/</exclude-pattern>
<exclude-pattern>src/</exclude-pattern>
<exclude-pattern>src/*</exclude-pattern>
<exclude-pattern>tests/php</exclude-pattern>
<exclude-pattern>tests/Tools/</exclude-pattern>
</rule>
</ruleset>