-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpcs.xml
54 lines (48 loc) · 1.81 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
49
50
51
52
53
54
<?xml version="1.0"?>
<ruleset name="Ultimate Member CS">
<description>Best practices Ultimate Member Coding Standards</description>
<config name="testVersion" value="5.6-"/>
<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>includes/blocks/*</exclude-pattern>
<rule ref="WordPress-Extra"/>
<rule ref="PHPCompatibilityWP">
<include-pattern>*\.php$</include-pattern>
</rule>
<rule ref="WordPress.WP.Capabilities">
<properties>
<property name="custom_capabilities" type="array" extend="true">
<element value="edit_jb-job"/>
<element value="read_jb-job"/>
<element value="delete_jb-job"/>
<element value="edit_jb-jobs"/>
<element value="edit_others_jb-jobs"/>
<element value="publish_jb-jobs"/>
<element value="read_private_jb-jobs"/>
<element value="delete_jb-jobs"/>
<element value="delete_private_jb-jobs"/>
<element value="delete_published_jb-jobs"/>
<element value="delete_others_jb-jobs"/>
<element value="edit_private_jb-jobs"/>
<element value="edit_published_jb-jobs"/>
<element value="create_jb-jobs"/>
<element value="manage_jb-job-types"/>
<element value="edit_jb-job-types"/>
<element value="delete_jb-job-types"/>
<element value="edit_jb-job-types"/>
<element value="manage_jb-job-categories"/>
<element value="edit_jb-job-categories"/>
<element value="delete_jb-job-categories"/>
<element value="edit_jb-job-categories"/>
</property>
</properties>
</rule>
</ruleset>