Deprecation: #89631 - Use Environment API to fetch application context¶
The Environment API, introduced in TYPO3 v9.3, allows access to the current Application Context (Production, Testing or Development).
GeneralUtility::getApplicationContext() has been deprecated, as the same information is now available in
Calling the GeneralUtility method will trigger a PHP deprecation warning.
Any TYPO3 installation with a third-party extension calling the method directly.
Use the Environment API call and substitute the method directly.