From 428238bf54db2ca65300418384abed0c58898302 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 31 Dec 2023 14:53:47 +0100 Subject: [PATCH] CI: remove phpstan on PHP < 7.1 --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 25bb886..6c88102 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,6 +31,10 @@ jobs: - name: Setup problem matchers run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Fix PHPUnit for PHP8 + run: composer remove phpstan/phpstan + if: matrix.php < 7.1 + - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-progress