From bebe1a433bd936a07d79d64adb4757aea85bd317 Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Fri, 25 Oct 2024 09:55:59 +0200 Subject: [PATCH] cleanup helpers.yml --- src/bundle/Core/Resources/config/helpers.yml | 7 ------- tests/integration/Core/Repository/ContentServiceTest.php | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/bundle/Core/Resources/config/helpers.yml b/src/bundle/Core/Resources/config/helpers.yml index 40c7e8e920..7683d75494 100644 --- a/src/bundle/Core/Resources/config/helpers.yml +++ b/src/bundle/Core/Resources/config/helpers.yml @@ -6,7 +6,6 @@ parameters: services: # Helpers Ibexa\Core\Helper\TranslationHelper: - class: Ibexa\Core\Helper\TranslationHelper arguments: - '@ibexa.config.resolver' - '@ibexa.api.service.content' @@ -14,17 +13,14 @@ services: - "@?logger" Ibexa\Core\Helper\FieldHelper: - class: Ibexa\Core\Helper\FieldHelper arguments: ['@Ibexa\Core\Helper\TranslationHelper', '@ibexa.api.service.content_type', '@ibexa.api.service.field_type'] Ibexa\Core\Helper\ContentPreviewHelper: - class: Ibexa\Core\Helper\ContentPreviewHelper arguments: ["@event_dispatcher", '@Ibexa\Core\MVC\Symfony\SiteAccess\Router'] calls: - [setSiteAccess, ['@Ibexa\Core\MVC\Symfony\SiteAccess']] Ibexa\Bundle\Core\EventListener\ConfigScopeListener: - class: Ibexa\Bundle\Core\EventListener\ConfigScopeListener arguments: $configResolvers: !tagged ibexa.site.config.resolver $viewManager: '@Ibexa\Core\MVC\Symfony\View\ViewManagerInterface' @@ -32,14 +28,11 @@ services: - { name: kernel.event_subscriber } Ibexa\Core\Helper\PreviewLocationProvider: - class: Ibexa\Core\Helper\PreviewLocationProvider arguments: - '@ibexa.api.service.location' - - '@ibexa.api.service.content' - '@Ibexa\Core\Persistence\Cache\LocationHandler' Ibexa\Core\Helper\ContentInfoLocationLoader\SudoMainLocationLoader: - class: 'Ibexa\Core\Helper\ContentInfoLocationLoader\SudoMainLocationLoader' arguments: - '@ibexa.api.repository' diff --git a/tests/integration/Core/Repository/ContentServiceTest.php b/tests/integration/Core/Repository/ContentServiceTest.php index c0212b4c70..5ec286ff98 100644 --- a/tests/integration/Core/Repository/ContentServiceTest.php +++ b/tests/integration/Core/Repository/ContentServiceTest.php @@ -22,8 +22,8 @@ use Ibexa\Contracts\Core\Repository\Values\Content\Language; use Ibexa\Contracts\Core\Repository\Values\Content\Location; use Ibexa\Contracts\Core\Repository\Values\Content\Relation; -use Ibexa\Contracts\Core\Repository\Values\Content\RelationType; use Ibexa\Contracts\Core\Repository\Values\Content\RelationList\RelationListItemInterface; +use Ibexa\Contracts\Core\Repository\Values\Content\RelationType; use Ibexa\Contracts\Core\Repository\Values\Content\Section; use Ibexa\Contracts\Core\Repository\Values\Content\URLAlias; use Ibexa\Contracts\Core\Repository\Values\Content\VersionInfo;