From 2a575aacf941d3471257e369f3e558a8f5ce7e48 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Sat, 17 Feb 2024 17:40:52 +0100 Subject: [PATCH] symfony 7 --- .github/workflows/test-application.yaml | 7 ++++--- CHANGELOG.md | 5 +++++ composer.json | 13 ++++++------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index fd4c9b8..02a9c3b 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -27,11 +27,12 @@ jobs: symfony-version: "6" - php-version: "8.1" - symfony-version: "6" + - php-version: "8.2" + - php-version: "8.3" steps: - name: "Checkout project" - uses: "actions/checkout@v2" + uses: "actions/checkout@v3" - name: "Install and configure PHP" uses: "shivammathur/setup-php@v2" @@ -45,7 +46,7 @@ jobs: run: composer require --no-update symfony/flex && composer config extra.symfony.require ${{ matrix.symfony-version}} - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v1" + uses: "ramsey/composer-install@v2" with: dependency-versions: "${{ matrix.dependencies }}" composer-options: "--prefer-dist" diff --git a/CHANGELOG.md b/CHANGELOG.md index 56ea42b..b532a2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog ========= +3.0.2 +----- + +* Allow installation with Symfony 7. + 3.0.1 ----- diff --git a/composer.json b/composer.json index 3a3edac..6841d24 100644 --- a/composer.json +++ b/composer.json @@ -16,16 +16,15 @@ ], "require": { "php": "^8.0", - "symfony/routing": "^6.0", - "symfony/http-kernel": "^6.0", + "symfony/routing": "^6.0 || ^7.0", + "symfony/http-kernel": "^6.0 || ^7.0", "psr/log": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { - "doctrine/annotations": "^1.5", - "symfony/phpunit-bridge": "^6.0", - "symfony/dependency-injection": "^6.0", - "symfony/config": "^6.0", - "symfony/event-dispatcher": "^6.0" + "symfony/phpunit-bridge": "^7.0.3", + "symfony/dependency-injection": "^6.0 || ^7.0", + "symfony/config": "^6.0 || ^7.0", + "symfony/event-dispatcher": "^6.0 || ^7.0" }, "suggest": { "symfony/event-dispatcher": "DynamicRouter can optionally trigger an event at the start of matching. Minimal version ^6.0"