2017-01-26 18:15:24 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="WordPress Theme Coding Standards">
|
|
|
|
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
|
|
|
|
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
|
|
|
|
|
|
|
|
<!-- Set a description for this ruleset. -->
|
|
|
|
<description>A custom set of code standard rules to check for WordPress themes.</description>
|
|
|
|
|
2017-08-14 14:30:16 +00:00
|
|
|
<!-- Include the WordPress ruleset, with space for exclusions if necessary. -->
|
|
|
|
<rule ref="WordPress-Core">
|
2017-01-26 18:15:24 +00:00
|
|
|
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
|
2017-08-14 14:30:16 +00:00
|
|
|
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
|
|
|
|
|
2017-01-26 18:15:24 +00:00
|
|
|
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
|
2017-08-14 14:30:16 +00:00
|
|
|
|
|
|
|
<exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" />
|
|
|
|
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
|
|
|
|
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
|
|
|
|
<exclude name="Squiz.Commenting.InlineComment.NotCapital" />
|
2017-01-26 18:15:24 +00:00
|
|
|
</rule>
|
2017-08-14 14:30:16 +00:00
|
|
|
<rule ref="WordPress-Docs">
|
2017-01-26 18:15:24 +00:00
|
|
|
|
2017-08-14 14:30:16 +00:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule ref="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing">
|
|
|
|
<severity>0</severity>
|
|
|
|
</rule>
|
2017-01-26 18:15:24 +00:00
|
|
|
</ruleset>
|