Skip to content

Commit

Permalink
Merge pull request woocommerce#27262 from woocommerce/fix/unit-tests-…
Browse files Browse the repository at this point in the history
…coding-standards

Fixed packages required to run code sniffer on unit tests
  • Loading branch information
ObliviousHarmony authored Aug 10, 2020
2 parents 02cf0df + 3fd42a0 commit 116e115
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/bin/phpcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 116e115

Please sign in to comment.