diff --git a/.travis.yml b/.travis.yml index 4f0f481..4704a8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,7 @@ install: script: - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; fi - if [[ $TEST_COVERAGE != 'true' ]]; then composer test ; fi - - if [[ $CHECK_CS == 'true' ]]; then composer cs ; fi + - if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi after_script: - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer upload-coverage ; fi diff --git a/composer.json b/composer.json index e899600..e79f4f4 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ "@cs", "@test" ], - "cs": "phpcs", + "cs-check": "phpcs", "cs-fix": "phpcbf", "serve": "php -S 0.0.0.0:8080 -t public/ public/index.php", "test": "phpunit --colors=always",