forked from wp-document-revisions/wp-document-revisions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.ruleset.xml
45 lines (38 loc) · 1.31 KB
/
phpcs.ruleset.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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<extensions>*/php</extensions>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="wp-document-revisions"/>
</property>
</properties>
</rule>
<rule ref="WordPress.WP.Capabilities">
<properties>
<property name="custom_capabilities" type="array">
<element value="edit_document"/>
<element value="read_document"/>
<element value="delete_document"/>
<element value="edit_documents"/>
<element value="edit_others_documents"/>
<element value="edit_private_documents"/>
<element value="edit_published_documents"/>
<element value="read_documents"/>
<element value="read_document_revisions"/>
<element value="read_private_documents"/>
<element value="delete_documents"/>
<element value="delete_others_documents"/>
<element value="delete_private_documents"/>
<element value="delete_published_documents"/>
<element value="publish_documents"/>
<element value="override_document_lock"/>
</property>
</properties>
</rule>
<rule ref="WordPress"/>
<config name="testVersion" value="7.3-"/>
<rule ref="PHPCompatibilityWP"/>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/vendor/autoload.php</exclude-pattern>
</ruleset>