Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #234 from xwp/fix/phpcs-3-compat
Browse files Browse the repository at this point in the history
Use phar for PHPCS 2.8.1 since builds are breaking in PHPCS 3.0.0
  • Loading branch information
westonruter committed May 4, 2017
2 parents 74c9ceb + adc846e commit 600ca4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ function set_environment_variables {
shift # past argument or value
done

PHPCS_PHAR_URL=https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
# TODO: Change back to https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar once 3.x compat is done.
PHPCS_PHAR_URL=https://github.com/squizlabs/PHP_CodeSniffer/blob/700168ede59d6a7d45fc4a2feefde1d156eb4573/phpcs.phar?raw=true
PHPCS_RULESET_FILE=$( upsearch phpcs.ruleset.xml )
PHPCS_IGNORE=${PHPCS_IGNORE:-'vendor/*'}
PHPCS_GIT_TREE=${PHPCS_GIT_TREE:-master}
Expand Down

0 comments on commit 600ca4e

Please sign in to comment.