forked from nlemoine/acf-country
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
28 lines (21 loc) · 830 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="ACF Country">
<description>ACF Country rules for PHP_CodeSniffer</description>
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/data/*</exclude-pattern>
<arg name="extensions" value="php"/>
<arg value="sp"/>
<config name="minimum_supported_wp_version" value="4.6" />
<rule ref="WordPress-Core">
<exclude name="WordPress.Files.FileName" />
<exclude name="WordPress.PHP.YodaConditions" />
<exclude name="WordPress.NamingConventions.ValidHookName.UseUnderscores" />
<exclude name="PEAR.NamingConventions.ValidClassName" />
</rule>
<rule ref="WordPress-Extra"></rule>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="5.4-"/>
<rule ref="PHPCompatibilityWP"/>
</ruleset>