From 9777b542c08cb1d6b3dd1aee10156cf7120ee664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Sun, 10 Dec 2023 19:37:45 +0100 Subject: [PATCH] Remove support for symfony < 6.4 --- .github/workflows/continuous-integration.yml | 7 ++--- UPGRADE-5.0.md | 1 + composer.json | 30 ++++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e9533536..817a97eb 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -28,9 +28,8 @@ jobs: stability: - "stable" symfony-version: - - "5.4.*" - "6.4.*" - - "7.0.x" + - "7.0.*" driver-version: - "stable" dependencies: @@ -41,10 +40,10 @@ jobs: php-version: "8.1" driver-version: "1.5.0" stability: "stable" - symfony-version: "5.4.*" + symfony-version: "6.4.*" exclude: - php-version: "8.1" - symfony-version: "7.0.x" + symfony-version: "7.0.*" services: mongodb: diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index 8657add2..267db832 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -1,6 +1,7 @@ UPGRADE FROM 4.x to 5.0 ======================= +* Add support for Symfony 7.0 and require at least Symfony 6.4 * The `doctrine:mongodb:tail-cursor` command and `Doctrine\Bundle\MongoDBBundle\Cursor\TailableCursorProcessorInterface` interface have been dropped. You should use diff --git a/composer.json b/composer.json index d2a6d933..d71384e0 100644 --- a/composer.json +++ b/composer.json @@ -30,27 +30,27 @@ "doctrine/persistence": "^2.2 || ^3.0", "jean85/pretty-package-versions": "^1.3.0 || ^2.0.1", "psr/log": "^1.0 || ^2.0 || ^3.0", - "symfony/config": "^5.4 || ^6.2 || ^7.0", - "symfony/console": "^5.4 || ^6.2 || ^7.0", - "symfony/dependency-injection": "^5.4 || ^6.2 || ^7.0", + "symfony/config": "^6.4 || ^7.0", + "symfony/console": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", "symfony/deprecation-contracts": "^2.1 || ^3.0", - "symfony/doctrine-bridge": "^5.4.19 || ^6.2 || ^7.0", - "symfony/framework-bundle": "^5.4 || ^6.2 || ^7.0", - "symfony/http-kernel": "^5.4 || ^6.2 || ^7.0", - "symfony/options-resolver": "^5.4 || ^6.2 || ^7.0" + "symfony/doctrine-bridge": "^6.4 || ^7.0", + "symfony/framework-bundle": "^6.4 || ^7.0", + "symfony/http-kernel": "^6.4 || ^7.0", + "symfony/options-resolver": "^6.4 || ^7.0" }, "require-dev": { "doctrine/coding-standard": "^11.0", - "doctrine/data-fixtures": "^1.3", + "doctrine/data-fixtures": "^1.7", "phpunit/phpunit": "^9.5.5", "psalm/plugin-symfony": "^5.0", - "symfony/browser-kit": "^5.4 || ^6.2 || ^7.0", - "symfony/form": "^5.4 || ^6.2 || ^7.0", - "symfony/phpunit-bridge": "^6.2 || ^7.0", - "symfony/security-bundle": "^5.4 || ^6.2 || ^7.0", - "symfony/stopwatch": "^5.4 || ^6.2 || ^7.0", - "symfony/validator": "^5.4 || ^6.2 || ^7.0", - "symfony/yaml": "^5.4 || ^6.2 || ^7.0", + "symfony/browser-kit": "^6.4 || ^7.0", + "symfony/form": "^6.4 || ^7.0", + "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1", + "symfony/security-bundle": "^6.4 || ^7.0", + "symfony/stopwatch": "^6.4 || ^7.0", + "symfony/validator": "^6.4 || ^7.0", + "symfony/yaml": "^6.4 || ^7.0", "vimeo/psalm": "^5.12" }, "conflict": {