From 324e7839165a49f17f1588467872bdef149519c3 Mon Sep 17 00:00:00 2001 From: Chihiro Adachi <8196725+chihiro-adachi@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:32:14 +0900 Subject: [PATCH] Fix "Remove DoctrineProvider and DoctrineAdapter because these classes have been added to the doctrine/cache package" --- app/config/eccube/packages/codeception/doctrine.yaml | 3 ++- app/config/eccube/packages/prod/doctrine.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/config/eccube/packages/codeception/doctrine.yaml b/app/config/eccube/packages/codeception/doctrine.yaml index e5f04eb0bdf..91652437535 100644 --- a/app/config/eccube/packages/codeception/doctrine.yaml +++ b/app/config/eccube/packages/codeception/doctrine.yaml @@ -18,7 +18,8 @@ doctrine: services: doctrine.app_cache_provider: - class: Symfony\Component\Cache\DoctrineProvider + class: Doctrine\Common\Cache\Psr6\DoctrineProvider + factory: ['Doctrine\Common\Cache\Psr6\DoctrineProvider', wrap] public: false arguments: - '@doctrine.app_cache_pool' diff --git a/app/config/eccube/packages/prod/doctrine.yaml b/app/config/eccube/packages/prod/doctrine.yaml index e5f04eb0bdf..91652437535 100644 --- a/app/config/eccube/packages/prod/doctrine.yaml +++ b/app/config/eccube/packages/prod/doctrine.yaml @@ -18,7 +18,8 @@ doctrine: services: doctrine.app_cache_provider: - class: Symfony\Component\Cache\DoctrineProvider + class: Doctrine\Common\Cache\Psr6\DoctrineProvider + factory: ['Doctrine\Common\Cache\Psr6\DoctrineProvider', wrap] public: false arguments: - '@doctrine.app_cache_pool'