From 3da8ee0f240006b92850a042668d7d83e5603dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 13 Dec 2022 12:39:09 +0100 Subject: [PATCH] Enhancement: Use colors where possible --- .github/workflows/code-coverage.yaml | 4 ++-- .github/workflows/coding-standards.yaml | 6 +++--- .github/workflows/rector.yaml | 4 ++-- .github/workflows/static-analysis.yaml | 10 +++++----- .github/workflows/tests.yaml | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/code-coverage.yaml b/.github/workflows/code-coverage.yaml index 778f54b30d..d5fdf13ba7 100644 --- a/.github/workflows/code-coverage.yaml +++ b/.github/workflows/code-coverage.yaml @@ -44,11 +44,11 @@ jobs: - name: "Download dependencies" run: | - composer update --no-interaction --no-progress --optimize-autoloader + composer update --ansi --no-interaction --no-progress --optimize-autoloader - name: "Collect code coverage with PHPUnit" run: | - vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml + vendor/bin/phpunit --colors=always --coverage-clover=.build/logs/clover.xml - name: "Send code coverage report to codecov.io" run: | diff --git a/.github/workflows/coding-standards.yaml b/.github/workflows/coding-standards.yaml index 9241af8c7c..a45413bf46 100644 --- a/.github/workflows/coding-standards.yaml +++ b/.github/workflows/coding-standards.yaml @@ -44,8 +44,8 @@ jobs: - name: "Download dependencies" run: | - composer update --no-interaction --no-progress --optimize-autoloader - composer bin php-cs-fixer install --no-interaction --no-progress --optimize-autoloader + composer update --ansi --no-interaction --no-progress --optimize-autoloader + composer bin php-cs-fixer install --ansi --no-interaction --no-progress --optimize-autoloader - name: "Cache cache file for php-cs-fixer" uses: "actions/cache@v3" @@ -59,7 +59,7 @@ jobs: - name: "Run php-cs-fixer" run: | - vendor/bin/php-cs-fixer fix --diff --dry-run --verbose + vendor/bin/php-cs-fixer fix --ansi --diff --dry-run --verbose yamllint: name: "yamllint" diff --git a/.github/workflows/rector.yaml b/.github/workflows/rector.yaml index f6f338300a..02291a4d63 100644 --- a/.github/workflows/rector.yaml +++ b/.github/workflows/rector.yaml @@ -45,8 +45,8 @@ jobs: - name: "Download dependencies" run: | - composer update --no-interaction --no-progress --optimize-autoloader - composer bin rector install --no-interaction --no-progress --optimize-autoloader + composer update --ansi --no-interaction --no-progress --optimize-autoloader + composer bin rector install --ansi --no-interaction --no-progress --optimize-autoloader - name: "Run rector" run: "vendor/bin/rector process test/ --config=rector-migrate.php --dry-run" diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index d48102ac20..54c28707a3 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -42,12 +42,12 @@ jobs: - name: "Download dependencies" run: | - composer update --no-interaction --no-progress --optimize-autoloader - composer bin phpstan install --no-interaction --no-progress --optimize-autoloader + composer update --ansi --no-interaction --no-progress --optimize-autoloader + composer bin phpstan install --ansi --no-interaction --no-progress --optimize-autoloader - name: "Run PHPStan" run: | - vendor/bin/phpstan --no-progress + vendor/bin/phpstan --ansi --no-progress psalm: name: "Psalm" @@ -83,8 +83,8 @@ jobs: - name: "Download dependencies" run: | - composer update --no-interaction --no-progress --optimize-autoloader - composer bin psalm install --no-interaction --no-progress --optimize-autoloader + composer update --ansi --no-interaction --no-progress --optimize-autoloader + composer bin psalm install --ansi --no-interaction --no-progress --optimize-autoloader - name: "Run Psalm" run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 985b1caebf..c6974c386d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -48,7 +48,7 @@ jobs: composer- - name: "Download dependencies" - run: "composer update --no-interaction --no-progress --optimize-autoloader" + run: "composer update --ansi --no-interaction --no-progress --optimize-autoloader" - name: "Run tests" - run: "./vendor/bin/phpunit" + run: "./vendor/bin/phpunit --colors=always"