mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 18:05:45 +03:00
parent
26e6def921
commit
71fa5ab5d3
2 changed files with 12 additions and 8 deletions
|
@ -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. -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue