-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
32 lines (26 loc) · 1014 Bytes
/
phpcs.xml
File metadata and controls
32 lines (26 loc) · 1014 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
28
29
30
31
32
<?xml version="1.0"?>
<ruleset name="IpQuery">
<description>IpQuery WordPress Plugin Coding Standards</description>
<file>ipquery.php</file>
<file>includes/</file>
<file>admin/</file>
<exclude-pattern>includes/vendor/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<rule ref="WordPress">
<!-- Class files follow WordPress class naming, not PSR-4 filename conventions -->
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="ipquery" />
</property>
</properties>
</rule>
<config name="minimum_supported_wp_version" value="6.0" />
<arg name="extensions" value="php" />
<arg name="colors" />
<arg value="sp" />
</ruleset>