diff --git a/bin/phpcs-diff.sh b/bin/phpcs-diff.sh index c701e591d..40ad22cbe 100755 --- a/bin/phpcs-diff.sh +++ b/bin/phpcs-diff.sh @@ -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