forked from mirror/_s
Merge pull request #1110 from davidakennedy/master
Switch versions of PHP Code Sniffer for build process
This commit is contained in:
commit
b28c6d6ca2
|
@ -47,7 +47,7 @@ before_script:
|
||||||
- export PHPCS_DIR=/tmp/phpcs
|
- export PHPCS_DIR=/tmp/phpcs
|
||||||
- export SNIFFS_DIR=/tmp/sniffs
|
- export SNIFFS_DIR=/tmp/sniffs
|
||||||
# Install CodeSniffer for WordPress Coding Standards checks.
|
# 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
|
- 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.
|
# 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
|
- 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.
|
# Install PHP Compatibility sniffs.
|
||||||
|
|
Reference in New Issue