From 1b1d3e6a7c497778096f1bb054944fe0fe5a3b93 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Mon, 18 Nov 2024 13:50:36 +0100 Subject: [PATCH] Update CI --- .github/workflows/static-analysis.yaml | 2 +- .github/workflows/tests.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 1a1a1e8c..91c0cee4 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Install dependencies uses: ramsey/composer-install@v3 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1add8127..f4c42027 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -89,6 +89,10 @@ jobs: run: composer require --dev phpunit/phpunit ^9.3.9 --no-update if: matrix.php == '8.0' && matrix.dependencies == 'lowest' + # These dependencies are not used running the tests but can cause deprecation warnings so we remove them before running the tests + - name: Remove unused dependencies + run: composer remove vimeo/psalm phpstan/phpstan friendsofphp/php-cs-fixer --dev --no-interaction --no-upda + - name: Install dependencies uses: ramsey/composer-install@v3 with: