Deprecation: #99638 - Environment::getBackendPath()
See forge#99638
Description
TYPO3's backend path /typo3
is currently resolved statically in
Environment::
to return the full path to the
backend entrypoint.
However, as TYPO3's code base is evolving, the usages to the hardcoded path have been reduced
and the functionality is now migrated into a new Backend
class,
which allows for dynamically adjusting the entry point in the future.
Impact
Calling the method will trigger a PHP deprecation warning.
Affected installations
TYPO3 installations with custom extensions using the method in PHP code.
Migration
Check for the extension scanner, and see if the code is necessary, or if any alternative,
such as the \TYPO3\
or \TYPO3\
might be better
suited as third-party extensions should not rely on the hard-coded paths to resources from
typo3/*
anymore.