diff --git a/tests/bin/phpcs.sh b/tests/bin/phpcs.sh index 58ff2aa2a06ae..205e63d386a5a 100755 --- a/tests/bin/phpcs.sh +++ b/tests/bin/phpcs.sh @@ -5,9 +5,6 @@ if [[ ${RUN_PHPCS} == 1 ]]; then IGNORE="tests/cli/,includes/libraries/,includes/api/legacy/" if [ "$CHANGED_FILES" != "" ]; then - # Install wpcs globally: - composer require woocommerce/woocommerce-sniffs - echo "Running Code Sniffer." ./vendor/bin/phpcs --ignore=$IGNORE --encoding=utf-8 -s -n -p $CHANGED_FILES fi