forked from tlovett1/simple-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
29 lines (22 loc) · 942 Bytes
/
phpcs.xml.dist
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
29
<?xml version="1.0"?>
<ruleset name="Distributor">
<description>PHPCS rules for Simple Cache</description>
<file>./inc</file>
<file>./tests</file>
<file>./simple-cache.php</file>
<exclude-pattern>./inc/dropins/batcache.php</exclude-pattern>
<exclude-pattern>./inc/dropins/memcached-object-cache.php</exclude-pattern>
<exclude-pattern>./inc/dropins/redis-object-cache.php</exclude-pattern>
<!-- Include the WordPress-Extra standard. -->
<rule ref="WordPress-Core">
<exclude name="WordPress.Files.FileName"/>
<exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"/>
</rule>
<rule ref="WordPress-Docs"/>
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<rule ref="Generic.Commenting.Todo"/>
<config name="testVersion" value="5.4"/>
<rule ref="PHPCompatibility"/>
<config name="minimum_supported_wp_version" value="3.9"/>
<config name="ignore_warnings_on_exit" value="1"/>
</ruleset>