From 3ae66963a69cd65ad5e4c6499b7f0f1d9549aa76 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Mon, 9 Dec 2019 09:20:39 -0800
Subject: [PATCH] Fix PHPCS, overriding unnecessary changes from WPCS 2.2.0

---
 phpcs.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/phpcs.xml b/phpcs.xml
index 86c05ab..b0293a5 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" />-->
 
-- 
GitLab