-
Notifications
You must be signed in to change notification settings - Fork 14
/
phpcs.xml
32 lines (30 loc) · 1.13 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
31
32
<?xml version="1.0"?>
<ruleset name="Simple_Location">
<description>Simple Location Standards</description>
<file>./simple-location.php</file>
<file>./includes/</file>
<file>./templates/</file>
<exclude-pattern>*/includes/*\.(inc|css|js|svg)</exclude-pattern>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.4-"/>
<rule ref="PHPCompatibilityWP"/>
<config name="minimum_supported_wp_version" value="6.2"/>
<rule ref="WordPress.WP.DeprecatedFunctions" />
<rule ref="WordPress-Docs"/>
<rule ref="WordPress">
<exclude name="WordPress.Security.ValidatedSanitizedInput" />
<exclude name="WordPress.Security.NonceVerification" />
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<exclude name="Squiz.Commenting"/>
<exclude name="Universal.NamingConventions.NoReservedKeywordParameterNames"/>
</rule>
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false" />
</properties>
</rule>
<rule ref="WordPress-Extra" />
<rule ref="WordPress.WP.I18n"/>
<rule ref="VariableAnalysis"/>
<config name="text_domain" value="simple-location,default"/>
</ruleset>