Skip to content
Snippets Groups Projects
Commit e8120972 authored by Benni Mack's avatar Benni Mack Committed by Benjamin Franzke
Browse files

[BUGFIX] Consistently use EventDispatcherInterface

TYPO3 should never expose its EventDispatcher
implementation but only work with the PSR-14 interface
(SOLID principle).
Also avoid GeneralUtility::getContainer() as that's
internal and non recommended API in favor of makeInstance
where dependency injection is not yet possible.

Resolves: #96665
Releases: main, 11.5
Change-Id: Ifacb7e64bc55bcfdf58a8de454a3cebc4e602817
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73190


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent e05192c8
Branches
Tags
Showing
with 20 additions and 20 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment