Skip to content

Commit 46f1677

Browse files
author
Nico Stapelbroek
committed
run php-cs-fixer after phpcs
1 parent f4b7e99 commit 46f1677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ before_install:
3838

3939
install:
4040
- composer update --prefer-source -o $COMPOSER_FLAGS
41-
- if [ "${PHP_CS_FIXER}" = "true" ]; then wget http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar && php ./php-cs-fixer-v2.phar fix --dry-run --diff $TRAVIS_BUILD_DIR; fi
4241
- PHPUNIT_BIN=$(pwd)/vendor/bin/phpunit
4342
- cd ${TEST_DIR}
4443
- composer update --prefer-source -o $COMPOSER_FLAGS
4544

4645
script:
4746
- $PHPUNIT_BIN --coverage-clover=coverage.clover
47+
- if [ "${PHP_CS_FIXER}" = "true" ]; then wget http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar && php ./php-cs-fixer-v2.phar fix --dry-run --diff $TRAVIS_BUILD_DIR; fi
4848

4949
after_success:
5050
- wget https://scrutinizer-ci.com/ocular.phar

0 commit comments

Comments
 (0)