From a47574836869889426b703db55cada9fc3cb9675 Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 23 Nov 2026 11:50:16 +0100 Subject: [PATCH 1/2] FR-7489: allow symfony/http-client 8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0deb59f..6a01802 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "php": "^8.4", "einenlum/composer-version-parser": "^1.0", "knplabs/github-api": "^3.12", - "symfony/http-client": "^7.0", + "symfony/http-client": "^7.0|^8.0", "nyholm/psr7": "^1.8" }, "scripts": { From df7008b23a320c09d5e4dbad8c2aa335a1b4c923 Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 23 Nov 2026 11:50:18 +0100 Subject: [PATCH 2/2] FR-7489: run CI with symfony/http-client 7 and 8 --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02e21c9..5cc2a7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,10 @@ permissions: jobs: php-tests: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + http-client: ['^7.0', '^8.0'] steps: # To automatically get bug fixes and new Php versions for shivammathur/setup-php, # change this to (see https://github.com/shivammathur/setup-php#bookmark-versioning): @@ -30,10 +34,10 @@ jobs: uses: actions/cache@v3 with: path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + key: ${{ runner.os }}-php-${{ matrix.http-client }}-${{ hashFiles('**/composer.lock') }} restore-keys: | - ${{ runner.os }}-php- + ${{ runner.os }}-php-${{ matrix.http-client }}- - name: Install Dependencies - run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --with "symfony/http-client:${{ matrix.http-client }}" - name: Execute tests run: composer run test