From 57689a5c57347d5d8754042d4405ce9a91d8d84d Mon Sep 17 00:00:00 2001 From: g_pasquion Date: Tue, 20 Feb 2024 16:34:55 +0100 Subject: [PATCH] feat(symfony): allow symfony 7 support --- .github/workflows/ci.yml | 5 ++++- composer.json | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3953460..2d65868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,9 @@ jobs: - php: 8.0 symfony_version: 6.0.* - php: 8.1 + - php: 8.2 + - php: 8.3 + symfony_version: 7.0.* fail-fast: false steps: - name: Checkout @@ -85,7 +88,7 @@ jobs: - name: Install Dependencies run: composer update --prefer-dist --no-interaction --optimize-autoloader --prefer-stable --no-progress $COMPOSER_FLAGS env: - COMPOSER_FLAGS: ${{ matrix.composer_flags }} + COMPOSER_FLAGS: ${{ matrix.composer_flags }} - name: Run PHPUnit run: bin/simple-phpunit env: diff --git a/composer.json b/composer.json index dc305b5..07fb643 100644 --- a/composer.json +++ b/composer.json @@ -21,16 +21,16 @@ "psr/container": "^1.0 || ^2.0", "psr/event-dispatcher": "^1.0", "symfony/contracts": "^1.1 || ^2.0 || ^3.0", - "symfony/expression-language": "^4.4 || ^5.0 || ^6.0", - "symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0", - "symfony/property-access": "^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "^4.4 || ^5.0 || ^6.0" + "symfony/expression-language": "^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/property-access": "^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/yaml": "^4.4 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { "m6web/php-cs-fixer-config": "^2.0", "phpstan/phpstan": "0.12.*", "phpstan/phpstan-phpunit": "0.12.*", - "symfony/phpunit-bridge": "5.1 || ^6.0" + "symfony/phpunit-bridge": "5.1 || ^6.0 || ^7.0" }, "suggest": { "symfony/console": "^4.3",