diff --git a/phpcs.xml b/phpcs.xml index 86c05ab53a92199225ab233e877ae644e600b141..b0293a5b7490e3368a057c688b82107e120ebc19 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -19,7 +19,11 @@ <exclude-pattern>*/node_modules/*</exclude-pattern> <exclude-pattern>*/vendor/</exclude-pattern> - <rule ref="WordPress" /> + <rule ref="WordPress"> + <exclude name="Generic.Arrays.DisallowShortArraySyntax" /> + <exclude name="WordPress.PHP.DisallowShortTernary" /> + <rule ref="Generic.Arrays.DisallowLongArraySyntax" /> + </rule> <rule ref="WordPressVIPMinimum" /> <!--<rule ref="WordPress-VIP-Go" />-->