-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpcs.ruleset.xml
More file actions
24 lines (19 loc) · 859 Bytes
/
phpcs.ruleset.xml
File metadata and controls
24 lines (19 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="Coding Standards for Workshop Butler WordPress Plugins">
<description>Code style rules, inherited from WordPress core rules and slightly modified</description>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="wsbintegration" />
</properties>
</rule>
<rule ref="WordPress-Docs" />
<config name="minimum_supported_wp_version" value="5.2" />
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>workshop-butler/**/*.js</exclude-pattern>
<exclude-pattern>workshop-butler/views/*</exclude-pattern>
<exclude-pattern>workshop-butler/lib/*</exclude-pattern>
<exclude-pattern>**/index.php</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
</ruleset>