[TASK] Deprecate usage of $GLOBALS['typo3CacheManager']
* Replace all instances of $GLOBALS['typo3CacheManager'] in the core with a makeInstance call. * Adapt the tests. * Make use of dependency injection where possible. * Add compatibility layer with deprecation message for $GLOBALS['typo3CacheManager'] and $GLOBALS['typo3CacheFactory'] Resolves: #56597 Releases: 6.2 Change-Id: Idb035723626b24cfd768204bf24987171f5b0feb Reviewed-on: https://review.typo3.org/28101 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
Showing
- typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php 1 addition, 1 deletion...ext/backend/Classes/FrontendBackendUserAuthentication.php
- typo3/sysext/backend/Classes/Sprite/SpriteManager.php 2 additions, 2 deletionstypo3/sysext/backend/Classes/Sprite/SpriteManager.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/core/Classes/Cache/Cache.php 25 additions, 13 deletionstypo3/sysext/core/Classes/Cache/Cache.php
- typo3/sysext/core/Classes/Compatibility/GlobalObjectDeprecationDecorator.php 69 additions, 0 deletions...lasses/Compatibility/GlobalObjectDeprecationDecorator.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 6 additions, 5 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 9 additions, 21 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Localization/LocalizationFactory.php 1 addition, 1 deletion.../sysext/core/Classes/Localization/LocalizationFactory.php
- typo3/sysext/core/Classes/TypoScript/TemplateService.php 2 additions, 2 deletionstypo3/sysext/core/Classes/TypoScript/TemplateService.php
- typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php 24 additions, 7 deletions...ysext/core/Classes/Utility/ExtensionManagementUtility.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 27 additions, 0 deletionstypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Classes/Utility/RootlineUtility.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Utility/RootlineUtility.php
- typo3/sysext/core/Tests/Integrity/IntegrityTest.php 2 additions, 12 deletionstypo3/sysext/core/Tests/Integrity/IntegrityTest.php
- typo3/sysext/core/Tests/Unit/Core/BootstrapTest.php 6 additions, 4 deletionstypo3/sysext/core/Tests/Unit/Core/BootstrapTest.php
- typo3/sysext/core/Tests/Unit/Localization/Parser/LocallangXmlParserTest.php 1 addition, 1 deletion...Tests/Unit/Localization/Parser/LocallangXmlParserTest.php
- typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php 1 addition, 1 deletion...t/core/Tests/Unit/Localization/Parser/XliffParserTest.php
- typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php 0 additions, 1 deletion...3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
- typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php 50 additions, 42 deletions...ore/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
- typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php 2 additions, 2 deletionstypo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
- typo3/sysext/extbase/Classes/Core/Bootstrap.php 1 addition, 1 deletiontypo3/sysext/extbase/Classes/Core/Bootstrap.php
Please register or sign in to comment