| 1 |
<?xml version="1.0"?> |
| 2 |
<ruleset name="Themeisle"> |
| 3 |
<description>Themeisle rules for PHP_CodeSnifferr</description> |
| 4 |
|
| 5 |
<file>.</file> |
| 6 |
|
| 7 |
<exclude-pattern>node_modules/*</exclude-pattern> |
| 8 |
<exclude-pattern>vendor/*</exclude-pattern> |
| 9 |
<exclude-pattern>lib/*</exclude-pattern> |
| 10 |
<exclude-pattern>old/*</exclude-pattern> |
| 11 |
<exclude-pattern>*.min.js</exclude-pattern> |
| 12 |
<exclude-pattern>*.min.css</exclude-pattern> |
| 13 |
<rule ref="WordPress-Core"> |
| 14 |
<exclude name="Squiz.Commenting.FileComment.SpacingAfterComment"/> |
| 15 |
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag"/> |
| 16 |
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar"/> |
| 17 |
<exclude name="Generic.Commenting.DocComment.MissingShort"/> |
| 18 |
<exclude name="Squiz.Commenting.InlineComment.NotCapital"/> |
| 19 |
<exclude name="Squiz.Commenting.LongConditionClosingComment.Missing"/> |
| 20 |
<exclude name="Squiz.Commenting.LongConditionClosingComment.Invalid"/> |
| 21 |
<exclude name="WordPress.NamingConvention.ValidVariableName.StringNotSnakeCase"/> |
| 22 |
<exclude name="WordPress.NamingConventions.ValidVariableName.NotSnakeCase"/> |
| 23 |
<exclude name="WordPress.PHP.YodaConditions.NotYoda"/> |
| 24 |
<exclude name="Squiz.PHP.DisallowMultipleAssignments" /> |
| 25 |
</rule> |
| 26 |
<rule ref="WordPress-Docs"> |
| 27 |
|
| 28 |
</rule> |
| 29 |
|
| 30 |
<rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing"> |
| 31 |
<severity>0</severity> |
| 32 |
</rule> |
| 33 |
|
| 34 |
</ruleset> |