From eae6c1b65ef8c6ffc1e230d15b477bf5a63d8dba Mon Sep 17 00:00:00 2001 From: Nattfarinn Date: Wed, 17 Apr 2024 09:16:09 +0200 Subject: [PATCH] fix: replace event_dispatcher with FQCN --- eZ/Publish/Core/settings/events.yml | 4 ---- eZ/Publish/Core/settings/storage_engines/legacy/content.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/eZ/Publish/Core/settings/events.yml b/eZ/Publish/Core/settings/events.yml index 2161ca21ca..89ec3dd9ab 100644 --- a/eZ/Publish/Core/settings/events.yml +++ b/eZ/Publish/Core/settings/events.yml @@ -6,7 +6,3 @@ 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' diff --git a/eZ/Publish/Core/settings/storage_engines/legacy/content.yml b/eZ/Publish/Core/settings/storage_engines/legacy/content.yml index 14463e9d9b..29374fafa2 100644 --- a/eZ/Publish/Core/settings/storage_engines/legacy/content.yml +++ b/eZ/Publish/Core/settings/storage_engines/legacy/content.yml @@ -10,7 +10,7 @@ services: - "@ezpublish.persistence.legacy.field_value_converter.registry" - "@ezpublish.spi.persistence.legacy.language.handler" - '@ezpublish.spi.persistence.legacy.content_type.handler' - - "@event_dispatcher" + - '@Symfony\Contracts\EventDispatcher\EventDispatcherInterface' Ibexa\Core\Persistence\Legacy\Content\Mapper\ResolveVirtualFieldSubscriber: arguments: