forked from WordPress/two-factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
executable file
·23 lines (21 loc) · 942 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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<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>