Epic #83968: PSR-11 Initiative
ApplicationContext should consistently be retrieved from GeneralUtility
ClassLoadingInformation reads from Bootstrap, that should be adapted to use GeneralUtility.
Bootstrap code states:
* Use \TYPO3\CMS\Core\Utility\GeneralUtility::getApplicationContext() instead
Therefore the method should just be removed.
[TASK] Consistently retrieve ApplicationContext from GeneralUtility
As documented in Bootstrap code, GeneralUtility should be
used instead of Bootstrap to retrieve the ApplicationContext.
Therefore ClassLoadingInformation is adapted to read the
ApplicationContext from GeneralUtility. Bootstrap now pushes the
ApplicationContext early to GeneralUtility to be available for
ClassLoadingInformation during bootstrap.
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Frank Naegler <firstname.lastname@example.org>
Tested-by: Frank Naegler <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>