From cf36829582ea79e23cc4e8659943ea03d90d6518 Mon Sep 17 00:00:00 2001 From: Lukas Bestle Date: Fri, 14 May 2021 11:50:07 +0200 Subject: [PATCH] CI tool improvements --- .github/workflows/ci.yml | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a247dc5..c59e9f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: - name: Statically analyze using Psalm if: always() && steps.finishPrepare.outcome == 'success' - run: psalm --output-format=github + run: psalm --output-format=github --php-version=${{ matrix.php }} - name: Upload coverage results to Codecov uses: codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27 # pin@v1 @@ -167,7 +167,7 @@ jobs: - name: Statically analyze using PHPMD if: always() && steps.composerInstall.outcome == 'success' - run: phpmd . ansi phpmd.xml.dist --exclude 'tests/*,vendor/*' + run: phpmd . github phpmd.xml.dist --exclude 'tests/*,vendor/*' coding-style: name: Coding Style & Frontend Analysis diff --git a/composer.json b/composer.json index ba1b622..a7113db 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "@analyze", "@test" ], - "fix": "php-cs-fixer fix --config .php_cs", + "fix": "php-cs-fixer fix", "test": "phpunit --stderr --coverage-html=tests/coverage" } }