[BUGFIX] Do not reference EventDispatcher in TYPO3 Core
With Dependency Injection, the new PSR-14 based EventDispatcher, built into TYPO3 Core should never be exposed to our core code, since we should always reference the EventDispatcherInterface. We do this in almost all cases, except for a few places where we introduced PSR-14 before DI. Resolves: #90034 Releases: master Change-Id: I59e74333360c98b3c2e16c1b3df6fbd8bbf450f0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62778 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Mail/Mailer.php 11 additions, 11 deletionstypo3/sysext/core/Classes/Mail/Mailer.php
- typo3/sysext/core/Configuration/Services.yaml 3 additions, 0 deletionstypo3/sysext/core/Configuration/Services.yaml
- typo3/sysext/core/Tests/Unit/Mail/MailerTest.php 0 additions, 5 deletionstypo3/sysext/core/Tests/Unit/Mail/MailerTest.php
- typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php 1 addition, 2 deletions...3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
Please register or sign in to comment