Sync changes from production (#262)

* Sync changes from production
This commit is contained in:
Paul Kevan 2024-06-26 14:35:52 +01:00 committed by GitHub
parent 26e6def921
commit 71fa5ab5d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 8 deletions

View file

@ -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. -->