From bb1b486ad19babd3e16fc35804da8f8cded2c96c Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 4 Feb 2024 15:47:48 +0100 Subject: [PATCH] DoctrineSetup was renamed to ORMSetup --- UPGRADE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index b99c034c8cd..09ce079e7b9 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -495,8 +495,8 @@ The methods have been replaced by PSR-6 compatible counterparts ## BC BREAK: Remove `Doctrine\ORM\Configuration::newDefaultAnnotationDriver` -This functionality has been moved to the new `DoctrineSetup` class. Call -`Doctrine\ORM\Tools\DoctrineSetup::createDefaultAnnotationDriver()` to create +This functionality has been moved to the new `ORMSetup` class. Call +`Doctrine\ORM\ORMSetup::createDefaultAnnotationDriver()` to create a new annotation driver. ## BC BREAK: Remove `Doctrine\ORM\Tools\Setup` @@ -504,7 +504,7 @@ a new annotation driver. In our effort to migrate from Doctrine Cache to PSR-6, the `Setup` class which accepted a Doctrine Cache instance in each method has been removed. -The replacement is `Doctrine\ORM\Tools\DoctrineSetup` which accepts a PSR-6 +The replacement is `Doctrine\ORM\ORMSetup` which accepts a PSR-6 cache instead. ## BC BREAK: Removed named queries