From 9bd3900853fec5ebcb7fd8c90efa3eaa0fdea82c Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Tue, 12 Dec 2023 16:24:58 +0100 Subject: [PATCH] chore: Use old ApiPlatformBundle namespace to avoid recipe to add it twice --- composer.json | 1 - config/bundles.php | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 023b34f3..10b05c6d 100644 --- a/composer.json +++ b/composer.json @@ -249,6 +249,5 @@ "dev-develop": "2.3.x-dev" } }, - "minimum-stability": "dev", "prefer-stable": true } diff --git a/config/bundles.php b/config/bundles.php index 6196d747..43f8b13d 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -24,7 +24,9 @@ League\FlysystemBundle\FlysystemBundle::class => ['all' => true], RZ\InterventionRequestBundle\RZInterventionRequestBundle::class => ['all' => true], Sentry\SentryBundle\SentryBundle::class => ['all' => true], - ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true], + // Symfony flex recipe add old bundle alias + // ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true], + ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true], Limenius\LiformBundle\LimeniusLiformBundle::class => ['all' => true], Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true], Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true],