From d80c0b191616e2cab27070654c436e1faaffb056 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 15 Jul 2021 17:20:06 +0200 Subject: [PATCH] [Cache] Deprecate the DoctrineProvider class --- cache.rst | 5 +++++ components/cache/adapters/doctrine_adapter.rst | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/cache.rst b/cache.rst index dcf5333ffcc..632f5f4905f 100644 --- a/cache.rst +++ b/cache.rst @@ -187,6 +187,11 @@ will create pools with service IDs that follow the pattern ``cache.[type]``. ; }; +.. deprecated:: 5.4 + + The ``default_doctrine_provider`` option was deprecated in Symfony 5.4 and + it will be removed in Symfony 6.0. + .. _cache-create-pools: Creating Custom (Namespaced) Pools diff --git a/components/cache/adapters/doctrine_adapter.rst b/components/cache/adapters/doctrine_adapter.rst index 198ae19338c..78ca23ae1ea 100644 --- a/components/cache/adapters/doctrine_adapter.rst +++ b/components/cache/adapters/doctrine_adapter.rst @@ -39,4 +39,9 @@ third parameters:: A :class:`Symfony\\Component\\Cache\\DoctrineProvider` class is also provided by the component to use any PSR6-compatible implementations with Doctrine-compatible classes. + .. deprecated:: 5.4 + + The ``DoctrineProvider`` class was deprecated in Symfony 5.4 and it will + be removed in Symfony 6.0. + .. _`Doctrine Cache`: https://github.com/doctrine/cache