[TASK] Use Environment API to fetch application context
The application context is stored in the Environment class since TYPO3 v9, which is the correct place instead of GeneralUtility::getApplicationContext(). Resolves: #89631 Releases: master Change-Id: I55de17ef3b9cbd0962a2c604913c736bd52ac6d3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62247 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Susanne Moog <look@susi.dev>
Showing
- typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php 1 addition, 1 deletion...ses/Backend/ToolbarItems/SystemInformationToolbarItem.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 2 additions, 1 deletion...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Console/CommandApplication.php 2 additions, 1 deletiontypo3/sysext/core/Classes/Console/CommandApplication.php
- typo3/sysext/core/Classes/Console/CommandRequestHandler.php 2 additions, 1 deletiontypo3/sysext/core/Classes/Console/CommandRequestHandler.php
- typo3/sysext/core/Classes/Core/ClassLoadingInformation.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Core/ClassLoadingInformation.php
- typo3/sysext/core/Classes/ExpressionLanguage/SiteConditionProvider.php 2 additions, 2 deletions...core/Classes/ExpressionLanguage/SiteConditionProvider.php
- typo3/sysext/core/Classes/ExpressionLanguage/TypoScriptConditionProvider.php 2 additions, 1 deletion...lasses/ExpressionLanguage/TypoScriptConditionProvider.php
- typo3/sysext/core/Classes/Page/PageRenderer.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Page/PageRenderer.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 5 additions, 3 deletionstypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-89631-UseEnvironmentAPIToFetchApplicationContext.rst 34 additions, 0 deletions...tion-89631-UseEnvironmentAPIToFetchApplicationContext.rst
- typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php 25 additions, 20 deletions...Script/ConditionMatching/AbstractConditionMatcherTest.php
- typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/Fixtures/GeneralUtilityFixture.php 0 additions, 29 deletions...ript/ConditionMatching/Fixtures/GeneralUtilityFixture.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 1 addition, 1 deletion.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 14 additions, 5 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Fixtures/GeneralUtilityFixture.php 0 additions, 29 deletions...sts/Unit/ContentObject/Fixtures/GeneralUtilityFixture.php
- typo3/sysext/install/Classes/Configuration/Context/DebugPreset.php 2 additions, 2 deletions...ext/install/Classes/Configuration/Context/DebugPreset.php
- typo3/sysext/install/Classes/Configuration/Context/LivePreset.php 2 additions, 2 deletions...sext/install/Classes/Configuration/Context/LivePreset.php
- typo3/sysext/install/Classes/Controller/InstallerController.php 1 addition, 1 deletion...sysext/install/Classes/Controller/InstallerController.php
- typo3/sysext/install/Classes/Controller/LayoutController.php 1 addition, 1 deletiontypo3/sysext/install/Classes/Controller/LayoutController.php
- typo3/sysext/install/Classes/Controller/SettingsController.php 2 additions, 1 deletion.../sysext/install/Classes/Controller/SettingsController.php
Please register or sign in to comment