From 232f9063a8468974af20cf244ed7bebcb44c2de0 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:52:53 +0100 Subject: [PATCH] TASK: Correct `DoctrineProxy` import in AssetController The old import was deprecated with `doctrine/persistence:1.3` and one should use Doctrine\Persistence\Proxy instead: https://github.com/greg0ire/persistence/blob/da3b167cde5c029d7941941c635879524d6e1484/lib/Doctrine/Common/Persistence/Proxy.php#L26 --- Neos.Media.Browser/Classes/Controller/AssetController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.Media.Browser/Classes/Controller/AssetController.php b/Neos.Media.Browser/Classes/Controller/AssetController.php index 0446964cd1f..38cfba8658a 100644 --- a/Neos.Media.Browser/Classes/Controller/AssetController.php +++ b/Neos.Media.Browser/Classes/Controller/AssetController.php @@ -12,7 +12,7 @@ * source code. */ -use Doctrine\Common\Persistence\Proxy as DoctrineProxy; +use Doctrine\Persistence\Proxy as DoctrineProxy; use Doctrine\ORM\EntityNotFoundException; use enshrined\svgSanitize\Sanitizer; use Neos\Error\Messages\Error;