From fb5fd32e50b1bac886cb82406dcfd35f0047095f Mon Sep 17 00:00:00 2001 From: Yanick Witschi Date: Tue, 25 Jun 2024 11:22:22 +0200 Subject: [PATCH] Allow Symfony 7 (see #7279) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description ----------- 5.3 LTS requires Symfony 6.4 LTS as per our roadmap. This means, Contao 5.4 must allow Symfony 7 components. Dependencies: - [x] `contao/manager-plugin`: https://github.com/contao/manager-plugin/pull/56 - [x] `contao/image`: https://github.com/contao/image/pull/104 - [x] `terminal42/service-annotation-bundle`: https://github.com/terminal42/service-annotation-bundle/pull/9 - [x] `terminal42/escargot`: https://github.com/terminal42/escargot/pull/36 - [x] Merge https://github.com/contao/contao/pull/7285 in `5.3`and then uptream into `5.x` Commits ------- 0aa8323a Allow Symfony 7 in all packages 277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues 1eb7d8b2 Fixed test incompatibilities a4eb15d6 Fixed DoctrineSchemaListener a19c436e Fixed phpstan af07922f Update calendar-bundle/composer.json 103d01e2 Update scheb/2fa bundles 01dca93a Fix interface incompatibility 15ebe558 Updated FOS HttpCache related dependencies d18e73bd Apply suggestions from code review aef96c3b Fixed the LocaleSubscriberTest 5aef4aad Revert changes ade83931 Cleanup 0c2b1713 Use the existing news bundle when installing the core bundle in the "… Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com> --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 24fa9b7b3..5a9e083d0 100644 --- a/composer.json +++ b/composer.json @@ -29,17 +29,17 @@ "require": { "php": "^8.1", "contao/core-bundle": "self.version", - "symfony/config": "^6.4", - "symfony/dependency-injection": "^6.4", - "symfony/http-kernel": "^6.4", - "symfony/yaml": "^6.4" + "symfony/config": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", + "symfony/http-kernel": "^6.4 || ^7.0", + "symfony/yaml": "^6.4 || ^7.0" }, "require-dev": { "contao/manager-plugin": "^2.3.1", "contao/test-case": "self.version", "phpunit/phpunit": "^9.5", - "symfony/http-client": "^6.4", - "symfony/phpunit-bridge": "^6.4" + "symfony/http-client": "^6.4 || ^7.0", + "symfony/phpunit-bridge": "^6.4 || ^7.0" }, "conflict": { "contao/core": "*",