Skip to content

Commit

Permalink
IBX-1321: [DI] Dropped obsolete Service aliases defined in Kernel (#1986
Browse files Browse the repository at this point in the history
)

* [DI] Dropped obsolete Service aliases defined in Kernel

* [Composer] Bumped Kernel version to ensure correct version is installed
  • Loading branch information
alongosz authored Oct 26, 2021
1 parent cae59db commit 4f83c50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"symfony/asset": "^5.0",
"symfony/yaml": "^5.0",
"jms/translation-bundle": "^1.5",
"ezsystems/ezplatform-kernel": "^1.3@dev",
"ezsystems/ezplatform-kernel": "^1.3.10@dev",
"ezsystems/ezplatform-content-forms": "^1.3@dev",
"ezsystems/ezplatform-design-engine": "^3.0@dev",
"ezsystems/ezplatform-user": "^2.0@dev",
Expand Down
16 changes: 0 additions & 16 deletions src/bundle/Resources/config/services/service_aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,6 @@ services:
autoconfigure: true
public: true

#
# @todo: Get rid of all aliases:
# a) use direct alias injection instead of autowiring,
# b) move those aliases to bundles they come from.
#
# Why using these is bad for you? When working on external bundle you can easily fall into trap
# that these are available but guess not... these are not. You can use autowiring for these services
# only because you have EzPlatformAdminUiBundle enabled.
#

eZ\Publish\Core\Helper\FieldsGroups\FieldsGroupsList: '@ezpublish.fields_groups.list'
eZ\Publish\Core\MVC\ConfigResolverInterface: '@ezpublish.config.resolver'
eZ\Publish\Core\MVC\Symfony\SiteAccess: '@ezpublish.siteaccess'
eZ\Publish\API\Repository\FieldTypeService: '@ezpublish.api.service.field_type'


# Repository Forms
EzSystems\EzPlatformAdminUi\Form\Type\Role\LimitationType: '@ezplatform.content_forms.policy.limitation.form'

Expand Down

0 comments on commit 4f83c50

Please sign in to comment.