| 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 |
|