forked from WordPress/two-factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
28 lines (22 loc) · 868 Bytes
/
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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs" />
<rule ref="WordPress-Extra" />
<rule ref="WordPress-Docs" />
<arg name="colors" />
<arg value="ps" />
<arg name="basepath" value="."/>
<arg name="parallel" value="50"/>
<arg name="extensions" value="php"/>
<arg name="severity" value="1"/>
<file>.</file>
<!-- disable nonce checks on tests -->
<rule ref="WordPress.Security.NonceVerification">
<exclude-pattern>tests/*.php</exclude-pattern>
<exclude-pattern>tests/providers/*.php</exclude-pattern>
</rule>
<exclude-pattern>*/includes/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>