-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathphpcs.xml
24 lines (19 loc) · 817 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
<?xml version="1.0"?>
<ruleset name="WordPress Conding Standards">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
</rule>
<rule ref="PHPCompatibility">
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found"/>
</rule>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.4-"/>
<arg name="extensions" value="php"/>
<arg value="s"/>
<exclude-pattern>*/dev-lib/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>.github/</exclude-pattern>
</ruleset>