-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
37 lines (28 loc) · 1.29 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
<?xml version="1.0"?>
<ruleset name="WordPress Plugin Coding Standards">
<description>WordPress Plugin PHP_CodeSniffer ruleset.</description>
<!-- Exclude paths -->
<exclude-pattern>bin/*</exclude-pattern>
<exclude-pattern>lib/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<!-- Exclude module assets -->
<exclude-pattern>includes/modules/fly-cart/assets/*</exclude-pattern>
<exclude-pattern>includes/modules/progressive-discount-banner/assets/*</exclude-pattern>
<exclude-pattern>includes/modules/sales-pop/assets/*</exclude-pattern>
<exclude-pattern>includes/modules/countdown-timer/assets/*</exclude-pattern>
<exclude-pattern>includes/modules/direct-checkout/assets/*</exclude-pattern>
<exclude-pattern>includes/modules/upsell-order-bump/assets/*</exclude-pattern>
<!-- Configs -->
<config name="minimum_supported_wp_version" value="5.0" />
<config name="testVersion" value="7.0-"/>
<arg name="basepath" value="."/>
<!-- Rules -->
<rule ref="WordPress" />
<rule ref="PHPCompatibilityWP" />
<rule ref="WooCommerce-Core" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="storegrowth-sales-booster" />
</properties>
</rule>
</ruleset>