-
Notifications
You must be signed in to change notification settings - Fork 111
/
phpcs.xml
28 lines (22 loc) · 925 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="WordPress-Core">
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="WordPress.DB.PreparedSQL.InterpolatedNotPrepared" />
<exclude name="WordPress.DB.PreparedSQL.NotPrepared" />
</rule>
<rule ref="WordPress-Extra" />
<rule ref="WordPress-Docs" />
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="5.3-"/>
<arg name="extensions" value="php"/>
<arg value="psvn"/>
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/lib/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>.github/</exclude-pattern>
</ruleset>