forked from Emerald2013/coding-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
29 lines (24 loc) · 786 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="Site Counts Coding Standards">
<arg name="extensions" value="php" />
<arg name="colors" />
<arg value="s" /><!-- Show sniff codes in all reports -->
<rule ref="WordPress-Core">
<exclude name="WordPress.Files.FileName" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
</rule>
<rule ref="WordPress-Docs"></rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="site-counts"/>
</property>
</properties>
</rule>
<rule ref="PHPCompatibilityWP" />
<config name="testVersion" value="7.2-" />
<file>.</file>
<exclude-pattern>/node_modules/</exclude-pattern>
<exclude-pattern>/vendor/</exclude-pattern>
<exclude-pattern>/js/</exclude-pattern>
</ruleset>