forked from wpa11yday/conference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
28 lines (24 loc) · 1.05 KB
/
phpcs.xml.dist
File metadata and controls
28 lines (24 loc) · 1.05 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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.0-"/>
<rule ref="WordPress-Core">
<exclude name="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase"/>
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
</rule>
<rule ref="WordPress-Docs" />
<rule ref="WordPress.WP.I18n" />
<config name="text_domain" value="wpa-conference" />
<!-- Check all PHP files in directory tree by default. -->
<arg name="extensions" value="php"/>
<file>.</file>
<!-- Show progress and sniff codes in all reports -->
<arg value="ps"/>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/cmb-field-select2/*</exclude-pattern>
<exclude-pattern>*/cmb2/*</exclude-pattern>
<exclude-pattern>*/cmb2-conditional-logic/*</exclude-pattern>
<exclude-pattern>*/plugin-update-checker/*</exclude-pattern>
</ruleset>