Install globally

This commit is contained in:
Claudio Sanches 2020-09-08 15:56:06 -03:00
parent aa57d2f676
commit f748a71a8e
1 changed files with 1 additions and 1 deletions

View File

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