[TASK] Deprecate $GLOBALS['TYPO3_LOADED_EXT'] 08/58408/6
authorBenjamin Franzke <bfr@qbus.de>
Thu, 27 Sep 2018 08:31:08 +0000 (10:31 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 27 Sep 2018 17:22:55 +0000 (19:22 +0200)
commit3523a860c97c4a1c9fc7679bc393ff4fc3bccd90
tree4dcfe9b107a327b5c8e6e313d7b3c2ee61e543cc
parentab535bcf51021761635a07bb4be109471b4dc974
[TASK] Deprecate $GLOBALS['TYPO3_LOADED_EXT']

$GLOBALS['TYPO3_LOADED_EXT'] is defined as the "old" way
since the introduction of the PackageManager in 2013:
https://review.typo3.org/19605
(The class description of LoadExtensionArrayElement states:
Class to simulate the "old" extension information array element)

This old way should finally be removed to reduce site effects
(pollution of the global scope) of the PackageManager class.
It's marked as deprecated now, to be removed in v10.

All existing usaged are rewritten to use the PackageManager API.

Releases: master
Resolves: #86404
Change-Id: Ic53f5155828ef2ea711a1961e08f8e020e3f836a
Reviewed-on: https://review.typo3.org/58408
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
19 files changed:
typo3/sysext/core/Classes/Database/Schema/SqlReader.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/Classes/TypoScript/TemplateService.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-86404-DeprecateGLOBALSTYPO3_LOADED_EXT.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php
typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php
typo3/sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/core/Tests/UnitDeprecated/TypoScript/TemplateServiceTest.php
typo3/sysext/core/Tests/UnitDeprecated/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FilesContentObjectTest.php
typo3/sysext/install/Classes/Controller/UpgradeController.php
typo3/sysext/install/Classes/Service/LoadTcaService.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayGlobalMatcher.php
typo3/sysext/install/Tests/Unit/Controller/UpgradeControllerTest.php
typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php