PluginProbe
Imsanity / 2.9.2
Imsanity v2.9.2
2.9.4 2.9.3 2.9.2 trunk 2.4.3 2.5.0 2.6.0 2.7.0 2.7.2 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.9.0 2.9.1
imsanity / phpcs.ruleset.xml

phpcs.ruleset.xml in Imsanity 2.9.2, at phpcs.ruleset.xml

31 lines 778 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?xml version="1.0"?>
2 <ruleset name="WordPress Coding Standards for Plugins">
3 <description>Generally-applicable sniffs for WordPress plugins</description>
4
5 <exclude-pattern>*/vendor/*</exclude-pattern>
6 <exclude-pattern>*/tests/*</exclude-pattern>
7
8 <rule ref="WordPress-Core" />
9 <rule ref="WordPress-Docs" />
10 <rule ref="WordPress.PHP.NoSilencedErrors">
11 <properties>
12 <property name="customAllowedFunctionsList" type="array">
13 <element value="exif_read_data"/>
14 </property>
15 </properties>
16 </rule>
17
18 <config name="testVersion">7.4-</config>
19 <rule ref="PHPCompatibilityWP">
20 <severity>10</severity>
21 </rule>
22
23 <rule ref="WordPress.Security">
24 <severity>10</severity>
25 </rule>
26
27 <rule ref="WordPress.DB.PreparedSQL">
28 <severity>10</severity>
29 </rule>
30 </ruleset>
31