-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
44 lines (35 loc) · 1.34 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
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<ruleset name="">
<description>ThemeIsle ruleset</description>
<rule ref="WordPress-VIP-Go" />
<rule ref="WordPress-Core">
<exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_query"/>
<exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching"/>
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery"/>
</rule>
<rule ref="WordPress-Docs" />
<rule ref="WordPress-Extra">
<!-- Forget about file names -->
<exclude name="WordPress.Files.FileName"/>
</rule>
<config name="testVersion" value="7.4-"/>
<rule ref="PHPCompatibility" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" value="quickwp" />
</properties>
</rule>
<arg name="extensions" value="php"/>
<arg value="s"/>
<file>.</file>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>build/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>Gruntfile.js</exclude-pattern>
<exclude-pattern>dist</exclude-pattern>
<exclude-pattern>cypress</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>artifact/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
</ruleset>