-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.ruleset.xml
More file actions
27 lines (27 loc) · 871 Bytes
/
Copy pathphpcs.ruleset.xml
File metadata and controls
27 lines (27 loc) · 871 Bytes
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
<?xml version="1.0"?>
<ruleset name="Multilocale">
<description>A custom set of PHP_CodeSniffer rules for the Multilocale plugin</description>
<!-- PHPCS flags -->
<arg value="psvn"/>
<arg name="extensions" value="php,css"/>
<file>.</file>
<rule ref="WordPress">
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment"/>
</rule>
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array" value="multilocale"/>
</properties>
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="multilocale,default"/>
</properties>
</rule>
<rule ref="WordPress.WP.DeprecatedFunctions">
<properties>
<property name="minimum_supported_version" value="4.6" />
</properties>
</rule>
<exclude-pattern>admin/includes/vendor/*</exclude-pattern>
</ruleset>