From 26a6c741cb2f4a4caab80fb7aff5b21ecabbc892 Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Mon, 7 Mar 2022 09:28:08 +0100 Subject: [PATCH] [Maintenance] Add conflict to symfony/framework-bundle to fix problem with solving path prefix in API scenarios --- CONFLICTS.md | 5 +++++ composer.json | 1 + 2 files changed, 6 insertions(+) diff --git a/CONFLICTS.md b/CONFLICTS.md index 1a29b6ba93b..39f9e9a4343 100644 --- a/CONFLICTS.md +++ b/CONFLICTS.md @@ -69,6 +69,11 @@ references related issues. `InvalidArgumentException: Specify session name to get in vendor/friends-of-behat/mink/src/Mink.php:198`, Psalm error: `UndefinedDocblockClass: Docblock-defined class, interface or enum named UnitEnum does not exist`. + + - `symfony/framework-bundle:^4.4.38|^5.4.5`: + + These versions are causing a problem with returning null as token from `Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage` + which leads to wrong solving path prefix by `Sylius\Bundle\ApiBundle\Provider\PathPrefixProvider` in API scenarios - `doctrine/orm:2.10.0`: diff --git a/composer.json b/composer.json index d7846e3067a..e750eb0d0aa 100644 --- a/composer.json +++ b/composer.json @@ -167,6 +167,7 @@ "jms/serializer-bundle": "3.9.0", "symfony/dependency-injection": "4.4.38 || 5.4.5", "symfony/doctrine-bridge": "4.4.16", + "symfony/framework-bundle": "^4.4.38 || ^5.4.5", "symfony/polyfill-mbstring": "^1.22.0", "symfony/property-info": "4.4.22 || 5.2.7", "symfony/serializer": "4.4.19 || 5.2.2",