forked from WordPress/two-factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
executable file
·25 lines (22 loc) · 1018 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
<?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-Core"/>
<rule ref="WordPress-Docs">
<exclude name="Squiz.Commenting.FileComment.MissingPackageTag"/>
<exclude name="Squiz.Commenting.FileComment.Missing"/>
<exclude name="Squiz.Commenting.FileComment.WrongStyle"/>
<exclude name="Squiz.Commenting.FileComment.SpacingAfterComment"/>
<exclude name="Squiz.Commenting.ClassComment.Missing"/>
</rule>
<rule ref="WordPress-Extra">
<exclude name="WordPress.CSRF.NonceVerification" />
<exclude name="WordPress.WP.PreparedSQL.NotPrepared" />
</rule>
<exclude-pattern>*/dev-lib/*</exclude-pattern>
<exclude-pattern>*/includes/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>