sulu / skeleton

Project template for starting your new project based on the Sulu content management system
https://sulu.io
MIT License
261 stars 81 forks source link

Upgrade PHPCR cache config to doctrine/cache package #169

Closed alexander-schranz closed 2 years ago

alexander-schranz commented 2 years ago
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Upgrade PHPCR cache config to doctrine/cache package.

Why?

Symfony 6 does not longer provide the Symfony\Component\Cache\DoctrineProvider and so the new Doctrine\Common\Cache\Psr6\DoctrineProvider need to be used. Which need to be created over a factory method.

alexander-schranz commented 2 years ago

duplicated https://github.com/sulu/skeleton/pull/170