forked from mirror/_s
🔧 PHPCS: tidy up config file
Comply with strict XML standard.
This commit is contained in:
parent
a0d2892cad
commit
94767ab051
|
@ -24,16 +24,16 @@
|
||||||
|
|
||||||
<!-- Include the WordPress ruleset, with exclusions. -->
|
<!-- Include the WordPress ruleset, with exclusions. -->
|
||||||
<rule ref="WordPress">
|
<rule ref="WordPress">
|
||||||
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
|
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact"/>
|
||||||
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
|
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect"/>
|
||||||
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
|
<exclude name="PEAR.Functions.FunctionCallSignature.Indent"/>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<!-- Verify that the text_domain is set to the desired text-domain.
|
<!-- Verify that the text_domain is set to the desired text-domain.
|
||||||
Multiple valid text domains can be provided as a comma-delimited list. -->
|
Multiple valid text domains can be provided as a comma-delimited list. -->
|
||||||
<rule ref="WordPress.WP.I18n">
|
<rule ref="WordPress.WP.I18n">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="text_domain" type="array" value="_s" />
|
<property name="text_domain" type="array" value="_s"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
on the theme hierarchy. -->
|
on the theme hierarchy. -->
|
||||||
<rule ref="WordPress.Files.FileName">
|
<rule ref="WordPress.Files.FileName">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="is_theme" value="true" />
|
<property name="is_theme" value="true"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
as set in the "Requires at least" tag in the readme.txt file. -->
|
as set in the "Requires at least" tag in the readme.txt file. -->
|
||||||
<rule ref="WordPress.WP.DeprecatedFunctions">
|
<rule ref="WordPress.WP.DeprecatedFunctions">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="minimum_supported_version" value="4.0" />
|
<property name="minimum_supported_version" value="4.0"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
|
Reference in New Issue