From 0b05bf2f9f629a7dc462176734b32f02b8c8ab37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Mon, 4 Nov 2024 09:17:32 +0100 Subject: [PATCH] Run tests with PHP 8.4 (#2616) * Run tests with PHP 8.4 * Skip psalm on PHP 8.4 --- .github/workflows/continuous-integration.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index bc54f2b01..56cd905e1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,6 +21,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" mongodb-version: - "7.0" - "6.0" @@ -110,6 +111,13 @@ jobs: composer require --no-update symfony/var-dumper:^7@dev composer require --no-update --dev symfony/cache:^7@dev + - name: "Configure PHP 8.4" + if: "${{ matrix.php-version == '8.4' }}" + run: | + # psalm is not compatible with PHP 8.4 + # https://github.com/vimeo/psalm/pull/10928 + composer remove --no-update --dev vimeo/psalm + - name: "Install dependencies with Composer" uses: "ramsey/composer-install@v3" with: