From bb12bce7ab9656d19f46f6e58cab21af82b1e9f4 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 8 Oct 2019 11:14:38 -0400 Subject: [PATCH] Fix exclude/include patterns Using include + exclude was accidentally excluding the whole plugin directory. Instead, use only exclude and exclude everything but our plugin. --- phpcs.xml.dist | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 25f4c6b..611e61d 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -17,13 +17,12 @@ */vendor/* */node_modules/* - /plugins/* /themes/pub/wporg - - /plugins/wporg-5ftf + + /plugins/(?!wporg-5ftf)