-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpcs.xml
30 lines (26 loc) · 995 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
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"/>
<arg value="p"/>
<file>tiny-cache.php</file>
<file>tiny-nav-menu-cache.php</file>
<file>tiny-translation-cache.php</file>
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false"/>
</properties>
</rule>
<rule ref="WordPress-Core">
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
<exclude name="Generic.Formatting.MultipleStatementAlignment"/>
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent"/>
</rule>
<!--
<rule ref="WordPress-Docs"/>
-->
<rule ref="WordPress-Extra"/>
</ruleset>