-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
37 lines (31 loc) · 1.05 KB
/
phpcs.xml.dist
File metadata and controls
37 lines (31 loc) · 1.05 KB
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
31
32
33
34
35
36
37
<?xml version="1.0"?>
<ruleset name="Coding Standards for Internal Scanner Tool">
<description>Description of Plugin.</description>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>reports/*</exclude-pattern>
<exclude-pattern>php/tests/*</exclude-pattern>
<exclude-pattern>php/prt_phpunit/*</exclude-pattern>
<arg value="ps"/>
<arg name="extensions" value="php"/>
<file>./frontblocks.php</file>
<file>./includes</file>
<rule ref="WordPress">
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
<exclude name="WordPress.DB" />
<exclude name="WordPress.Files.FileName"/>
<exclude name="WordPress.NamingConventions.ValidFunctionName" />
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="frontblocks" />
</properties>
</rule>
<rule ref="WordPress.Utils.I18nTextDomainFixer">
<properties>
<property name="old_text_domain" type="array">
<element value="" />
</property>
<property name="new_text_domain" value="frontblocks" />
</properties>
</rule>
</ruleset>