Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
Use the PHPCS `2.9` branch until the external standards are compatible with PHPCS 3.x
  • Loading branch information
jrfnl committed Jun 29, 2017
1 parent 940a422 commit 1315122
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -36,7 +36,8 @@ before_script:
- export PHPCS_DIR=/tmp/phpcs
- export SNIFFS_DIR=/tmp/sniffs
# Install CodeSniffer for WordPress Coding Standards checks.
- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR; fi
# @TODO Change branch back to master once WPCS + PHPCompatibility are compatible with PHPCS 3.x.
- if [[ "$SNIFF" == "1" ]]; then git clone -b 2.9 --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR; fi
# Install WordPress Coding Standards.
- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git $SNIFFS_DIR; fi
# Install PHP Compatibility sniffs.
Expand Down

0 comments on commit 1315122

Please sign in to comment.