From 2b73bc3882b525310eb9ef810d097748aa4ca8ae Mon Sep 17 00:00:00 2001 From: Nattfarinn Date: Tue, 16 Apr 2024 09:49:00 +0200 Subject: [PATCH] fix: register Symfony EventDispatcher outside of MVC tests --- eZ/Publish/Core/settings/events.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eZ/Publish/Core/settings/events.yml b/eZ/Publish/Core/settings/events.yml index 89ec3dd9ab..2161ca21ca 100644 --- a/eZ/Publish/Core/settings/events.yml +++ b/eZ/Publish/Core/settings/events.yml @@ -6,3 +6,7 @@ services: eZ\Publish\Core\Repository\EventSubscriber\: resource: '../Repository/EventSubscriber/*' + + Symfony\Component\EventDispatcher\EventDispatcher: ~ + Symfony\Component\EventDispatcher\EventDispatcherInterface: '@Symfony\Component\EventDispatcher\EventDispatcher' + event_dispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'