mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 16:51:18 +03:00
Update phpcs.xml.dist
This commit is contained in:
parent
1ff6678749
commit
8bc7efcb59
|
@ -92,6 +92,10 @@
|
|||
|
||||
<!-- print_r() is perfectly accepted in some circumstances, like WP_CLI commands. -->
|
||||
<exclude name="WordPress.PHP.DevelopmentFunctions.error_log_print_r" />
|
||||
|
||||
<!-- Exclude short array syntax as it is consistently already in the codebase :) -->
|
||||
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
|
||||
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
|
||||
</rule>
|
||||
|
||||
<!-- Ignore the CPT template filename, since it is based on the CPT name, and can't change. -->
|
||||
|
@ -132,9 +136,6 @@
|
|||
|
||||
<!-- WordPress have translators comment which requires no space after `//` -->
|
||||
<exclude name="Squiz.Commenting.InlineComment.NoSpaceBefore" />
|
||||
|
||||
<!-- Exclude short array syntax as it is consistently already in the codebase :) -->
|
||||
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
|
||||
</rule>
|
||||
|
||||
<rule ref="WordPress-Extra">
|
||||
|
|
Loading…
Reference in a new issue