forked from szepeviktor/tiny-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
30 lines (27 loc) · 1.01 KB
/
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
29
30
<?xml version="1.0"?>
<ruleset name="Tiny cache">
<description>Cache post content, translations and nav menu output in persistent object cache.</description>
<!--
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
-->
<config name="minimum_supported_wp_version" value="4.5"/>
<rule ref="/usr/local/wpcs/WordPress-Core">
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
</rule>
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false"/>
</properties>
</rule>
<!-- <rule ref="/usr/local/wpcs/WordPress-Docs"/> -->
<rule ref="/usr/local/wpcs/WordPress-Extra">
</rule>
<rule ref="/usr/local/wpcs/WordPress-VIP">
</rule>
<rule ref="WordPress.PHP.DiscouragedPHPFunctions">
<!-- From "VIP": The obfuscation group is excluded as there are plenty of legitimate uses for the base64 functions. -->
<properties>
<property name="exclude" value="obfuscation"/>
</properties>
</rule>
</ruleset>