From 0158c01dee54f7c79fdfadd2bb31edcbed9943a9 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 5 Nov 2025 16:47:27 +0100 Subject: [PATCH 1/4] Allow PHP 8 --- .github/workflows/tests.yml | 6 ++++-- CHANGELOG.md | 4 ++++ composer.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 145d475..28c50a0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -71,8 +71,10 @@ jobs: php-version: '7.4' - symfony: '6.4.*' php-version: '8.2' - - symfony: '7.0.*' - php-version: '8.2' + - symfony: '7.4.*' + php-version: '8.3' + - symfony: '8.0.*' + php-version: '8.4' steps: - name: Checkout code diff --git a/CHANGELOG.md b/CHANGELOG.md index 31ea0ea..f9b5cb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 2.8.0 + +- Allow installation with Symfony 8. + ## 2.7.2 - 2024-09-24 - Updated code to not raise warnings for nullable parameters in PHP 8.4. diff --git a/composer.json b/composer.json index 25afb92..5cd641b 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "psr/http-client": "^1.0", "psr/http-factory": "^1.0", "psr/http-message": "^1.0 || ^2.0", - "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0 || ^7.0", + "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0 || ^7.0 || ^8.0", "symfony/polyfill-php80": "^1.17" }, "require-dev": { From ad50b77cfb7ef2b31de52dba2323b02e401e0886 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 5 Nov 2025 16:54:14 +0100 Subject: [PATCH 2/4] Stop emulate PHP 8.3.99 --- .github/workflows/tests.yml | 4 ---- composer.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 28c50a0..a4777cf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,10 +25,6 @@ jobs: tools: composer:v2 coverage: none - - name: Emulate PHP 8.3 - run: composer config platform.php 8.3.999 - if: matrix.php == '8.4' - - name: Install PHP dependencies run: composer update --prefer-dist --no-interaction --no-progress diff --git a/composer.json b/composer.json index 5cd641b..b15a571 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "doctrine/instantiator": "^1.1", "guzzlehttp/psr7": "^1.4", "nyholm/psr7": "^1.2", - "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", + "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1 || ^8.0", "phpspec/prophecy": "^1.10.2", "phpunit/phpunit": "^7.5.20 || ^8.5.33 || ^9.6.7" }, From ab680fb0622202d2e624f5dbc472ec08df3a6ad5 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Thu, 6 Nov 2025 14:13:39 +0100 Subject: [PATCH 3/4] Remove 7.4 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a4777cf..e511308 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,7 +67,7 @@ jobs: php-version: '7.4' - symfony: '6.4.*' php-version: '8.2' - - symfony: '7.4.*' + - symfony: '7.3.*' php-version: '8.3' - symfony: '8.0.*' php-version: '8.4' @@ -89,7 +89,7 @@ jobs: run: | composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins symfony/flex - composer update --prefer-dist --no-interaction --prefer-stable --no-progress + composer update --prefer-dist --no-interaction --no-progress - name: Execute tests run: composer test From e98271816c3d2028291eef37c409345d476a65ad Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Thu, 6 Nov 2025 15:18:27 +0100 Subject: [PATCH 4/4] Add fail fast --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e511308..5aae224 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,6 +59,7 @@ jobs: name: Symfony ${{ matrix.symfony }} LTS runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - symfony: '4.4.*'