-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathphpcs.xml
More file actions
21 lines (17 loc) · 785 Bytes
/
Copy pathphpcs.xml
File metadata and controls
21 lines (17 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="WooCommerce Coding Standards">
<description>WordPress and WooCommerce coding standards ruleset.</description>
<arg name="extensions" value="php" />
<file>doofinder-for-woocommerce</file>
<!-- Configs -->
<config name="minimum_supported_wp_version" value="5.6" />
<ini name="error_reporting" value="E_ALL & ~E_DEPRECATED" />
<!-- Rules -->
<rule ref="WooCommerce-Core">
<exclude name="WordPress.Security.NonceVerification.Recommended" />
</rule>
<!-- Main plugin file does not need to have `class-` prepended to the name -->
<rule ref="WordPress.Files.FileName">
<exclude-pattern>\/doofinder-for-woocommerce\/doofinder-for-woocommerce\.php</exclude-pattern>
</rule>
</ruleset>