diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5b55e30..d5a94d2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,6 +18,10 @@ jobs: - '5.4.*' - '6.0.*' - '6.2.*' + - '7.0.*' + exclude: + - php: '8.1' + symfony-versions: '7.0.*' include: - php: '7.4' symfony-versions: '^4.4' @@ -34,7 +38,7 @@ jobs: - description: 'Log Code Coverage' php: '8.2' coverage: 'xdebug' - symfony-versions: '^6.2' + symfony-versions: '^7.0' name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }} steps: @@ -69,6 +73,7 @@ jobs: - name: Update Symfony version if: matrix.symfony-versions != '' run: | + composer require symfony/config:${{ matrix.symfony-versions }} --no-update --no-scripts composer require symfony/http-client:${{ matrix.symfony-versions }} --no-update --no-scripts composer require symfony/dependency-injection:${{ matrix.symfony-versions }} --no-update --no-scripts composer require symfony/http-kernel:${{ matrix.symfony-versions }} --no-update --no-scripts diff --git a/composer.json b/composer.json index 93c1d06..01dacca 100644 --- a/composer.json +++ b/composer.json @@ -29,10 +29,11 @@ "ext-json": "*", "php": "^7.4 || ^8.0", "behat/behat": "^3.0", - "symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0", - "symfony/http-client": "^4.4 || ^5.4 || ^6.0", - "symfony/http-kernel": "^4.4 || ^5.4 || ^6.0", - "symfony/routing": "^4.4 || ^5.4 || ^6.0", + "symfony/config": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/dependency-injection": "^4.4 || ^5.4.34 || ^6.0 || ^7.0.2", + "symfony/http-client": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/http-kernel": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/routing": "^4.4 || ^5.4 || ^6.0 || ^7.0", "macpaw/similar-arrays": "^1.0" }, "require-dev": {