From f748a71a8ea9222d37d0f7e2299ce90198781dcb Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Tue, 8 Sep 2020 15:56:06 -0300 Subject: [PATCH] Install globally --- tests/bin/phpcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bin/phpcs.sh b/tests/bin/phpcs.sh index 77e3816b2f5..3dabb97fdfc 100755 --- a/tests/bin/phpcs.sh +++ b/tests/bin/phpcs.sh @@ -7,7 +7,7 @@ if [[ ${RUN_PHPCS} == 1 ]]; then if [ "$CHANGED_FILES" != "" ]; then if [ ! -f "./vendor/bin/phpcs" ]; then # Install wpcs globally - composer require woocommerce/woocommerce-sniffs + composer global require woocommerce/woocommerce-sniffs --update-with-all-dependencies fi echo "Running Code Sniffer."