File tree Expand file tree Collapse file tree 3 files changed +1652
-45
lines changed Expand file tree Collapse file tree 3 files changed +1652
-45
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ install:
4141
4242script :
4343 - $PHPUNIT_BIN --coverage-clover=coverage.clover
44- - 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
45- - if [ "${PHPSTAN}" = "true" ]; then composer require --dev phpstan/phpstan ^0.12 && composer phpstan; fi
44+ - if [ "${PHP_CS_FIXER}" = "true" ]; then vendor/bin/ php-cs-fixer fix --dry-run --diff $TRAVIS_BUILD_DIR; fi
45+ - if [ "${PHPSTAN}" = "true" ]; then composer phpstan; fi
4646
4747after_success :
4848 - wget https://scrutinizer-ci.com/ocular.phar
Original file line number Diff line number Diff line change 55
66 "scripts" : {
77 "test" : " ./vendor/bin/phpunit" ,
8- "lint" : " ./vendor/bin/php-cs-fixer fix --verbose --diff --dry-run --config-file=.php_cs " ,
9- "fix" : " ./vendor/bin/php-cs-fixer fix --verbose --diff --config-file=.php_cs " ,
8+ "lint" : " ./vendor/bin/php-cs-fixer fix --verbose --diff --dry-run" ,
9+ "fix" : " ./vendor/bin/php-cs-fixer fix --verbose --diff" ,
1010 "phpstan" : " phpstan analyse -c phpstan.neon --no-progress -vvv"
1111 },
1212
3131 "phpstan/phpstan" : " ^0.12" ,
3232 "phpstan/phpstan-beberlei-assert" : " ^0.12.0" ,
3333 "thecodingmachine/phpstan-strict-rules" : " ^0.12" ,
34- "sebastian/version" : " ^1.0.3|^2.0"
34+ "sebastian/version" : " ^1.0.3|^2.0" ,
35+ "friendsofphp/php-cs-fixer" : " ^2.16"
3536 },
3637
3738 "autoload" : {
You can’t perform that action at this time.
0 commit comments