Skip to content

Commit 2507889

Browse files
authored
Merge pull request #576 from Automattic/fix/phpcs-diff
Small change to phpcs-diff
2 parents 0395cd7 + 02f8360 commit 2507889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/phpcs-diff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PHPCS_FILE=$(mktemp)
66

77
git remote set-branches --add origin master
88
git fetch
9-
git diff -- '*.php' origin/master.. > $DIFF_FILE
9+
git diff origin/master > $DIFF_FILE
1010

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

0 commit comments

Comments
 (0)