Skip to content

Commit

Permalink
Merge pull request #576 from Automattic/fix/phpcs-diff
Browse files Browse the repository at this point in the history
Small change to phpcs-diff
  • Loading branch information
cojennin authored Jan 9, 2020
2 parents 0395cd7 + 02f8360 commit 2507889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/phpcs-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PHPCS_FILE=$(mktemp)

git remote set-branches --add origin master
git fetch
git diff -- '*.php' origin/master.. > $DIFF_FILE
git diff origin/master > $DIFF_FILE

$DIR/../vendor/bin/phpcs --extensions=php --standard=phpcs.xml.dist --report=json > $PHPCS_FILE || true

Expand Down

0 comments on commit 2507889

Please sign in to comment.