diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 145d475..5aae224 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 @@ -63,6 +59,7 @@ jobs: name: Symfony ${{ matrix.symfony }} LTS runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - symfony: '4.4.*' @@ -71,8 +68,10 @@ jobs: php-version: '7.4' - symfony: '6.4.*' php-version: '8.2' - - symfony: '7.0.*' - php-version: '8.2' + - symfony: '7.3.*' + php-version: '8.3' + - symfony: '8.0.*' + php-version: '8.4' steps: - name: Checkout code @@ -91,7 +90,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 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..b15a571 100644 --- a/composer.json +++ b/composer.json @@ -17,14 +17,14 @@ "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": { "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" },