From 31dcab26875882d1eeefcaa0c2113363877c39a3 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Tue, 24 Oct 2023 20:21:03 -0400 Subject: [PATCH] feat: Symfony 7 support --- .github/workflows/continuous-integration.yml | 4 +++ composer.json | 31 ++++++++++---------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 130f5274..e9533536 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -30,6 +30,7 @@ jobs: symfony-version: - "5.4.*" - "6.4.*" + - "7.0.x" driver-version: - "stable" dependencies: @@ -41,6 +42,9 @@ jobs: driver-version: "1.5.0" stability: "stable" symfony-version: "5.4.*" + exclude: + - php-version: "8.1" + symfony-version: "7.0.x" services: mongodb: diff --git a/composer.json b/composer.json index be732051..3def4cea 100644 --- a/composer.json +++ b/composer.json @@ -31,27 +31,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", - "symfony/console": "^5.4 || ^6.2", - "symfony/dependency-injection": "^5.4 || ^6.2", + "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/deprecation-contracts": "^2.1 || ^3.0", - "symfony/doctrine-bridge": "^5.4.19 || ^6.2", - "symfony/framework-bundle": "^5.4 || ^6.2", - "symfony/http-kernel": "^5.4 || ^6.2", - "symfony/options-resolver": "^5.4 || ^6.2" + "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" }, "require-dev": { "doctrine/coding-standard": "^11.0", "doctrine/data-fixtures": "^1.3", "phpunit/phpunit": "^9.5.5", "psalm/plugin-symfony": "^5.0", - "symfony/browser-kit": "^5.4 || ^6.2", - "symfony/form": "^5.4 || ^6.2", - "symfony/phpunit-bridge": "^6.2", - "symfony/security-bundle": "^5.4 || ^6.2", - "symfony/stopwatch": "^5.4 || ^6.2", - "symfony/validator": "^5.4 || ^6.2", - "symfony/yaml": "^5.4 || ^6.2", + "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", "vimeo/psalm": "^5.12" }, "conflict": { @@ -60,7 +60,8 @@ "suggest": { "doctrine/data-fixtures": "Load data fixtures" }, - "minimum-stability": "stable", + "minimum-stability": "dev", + "prefer-stable": true, "autoload": { "psr-4": { "Doctrine\\Bundle\\MongoDBBundle\\": ""