[TASK] Use DI in TranslationConfigurationProvider
* Use runtimeCache instead of a class cache property * Declare readonly * DI dependent services * Declare some safe to set types * Adapt tests * Fix a broken test in BackendUtilityTest that used backendUser and global language object before site configuration has been written Resolves: #105257 Releases: main Change-Id: I80aaca4ed0d71656fc01fa4676868c50e7d70d35 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86537 Tested-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Configuration/TranslationConfigurationProvider.php 23 additions, 16 deletions...lasses/Configuration/TranslationConfigurationProvider.php
- typo3/sysext/backend/Tests/Functional/RecordList/DownloadRecordListTest.php 10 additions, 10 deletions...nd/Tests/Functional/RecordList/DownloadRecordListTest.php
- typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php 9 additions, 10 deletions...t/backend/Tests/Functional/Utility/BackendUtilityTest.php
- typo3/sysext/backend/Tests/Unit/Configuration/TranslationConfigurationProviderTest.php 21 additions, 13 deletions...it/Configuration/TranslationConfigurationProviderTest.php
Please register or sign in to comment