[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:Benjamin Franzke <bfr@qbus.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
Showing
- typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php 1 addition, 1 deletion...ses/Backend/ToolbarItems/SystemInformationToolbarItem.php
- typo3/sysext/backend/Classes/Controller/SwitchUserController.php 3 additions, 3 deletions...ysext/backend/Classes/Controller/SwitchUserController.php
- typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php 3 additions, 3 deletions...xt/backend/Classes/View/BackendLayout/Grid/GridColumn.php
- typo3/sysext/core/Classes/Database/ReferenceIndex.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/ReferenceIndex.php
- typo3/sysext/core/Classes/Page/AssetRenderer.php 1 addition, 2 deletionstypo3/sysext/core/Classes/Page/AssetRenderer.php
- typo3/sysext/core/Classes/Resource/ResourceStorage.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Resource/ResourceStorage.php
- typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php 1 addition, 1 deletion...t/core/Classes/Resource/Service/FileProcessingService.php
- typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php 1 addition, 1 deletion.../sysext/core/Classes/Utility/File/ExtendedFileUtility.php
- typo3/sysext/filelist/Classes/FileList.php 1 addition, 1 deletiontypo3/sysext/filelist/Classes/FileList.php
- typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php 1 addition, 1 deletion...end/Classes/Authentication/FrontendUserAuthentication.php
- typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php 2 additions, 1 deletion...ests/Unit/Controller/TypoScriptFrontendControllerTest.php
- typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php 2 additions, 2 deletionstypo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php
- typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php 1 addition, 1 deletion...ext/rte_ckeditor/Classes/Form/Element/RichTextElement.php
- typo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php 1 addition, 1 deletiontypo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php
Please register or sign in to comment