This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/codesniffer.ruleset.xml

26 lines
1.0 KiB
XML
Raw Normal View History

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>
<!-- Include the WordPress ruleset, with exclusions. -->
<rule ref="WordPress">
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
</rule>
2017-02-02 11:04:17 +00:00
<rule ref="WordPress.XSS.EscapeOutput">
<properties>
2017-02-02 11:09:55 +00:00
<property name="customAutoEscapedFunctions" value="$html" type="array" />
2017-02-02 11:04:17 +00:00
</properties>
</rule>
2017-01-26 18:15:24 +00:00
<!-- Include sniffs for PHP cross-version compatibility. -->
<config name="testVersion" value="5.2-99.0"/>
<rule ref="PHPCompatibility"/>
</ruleset>