Deprecation: #89866 - Global TYPO3-information related constants¶
See forge#89866
Description¶
The following global constants, which are initialized at the very beginning of each TYPO3-related PHP process, have been marked as deprecated:
TYPO3_copyright_year
TYPO3_URL_GENERAL
TYPO3_URL_LICENSE
TYPO3_URL_EXCEPTION
TYPO3_URL_DONATE
TYPO3_URL_WIKI_OPCODECACHE
They have been migrated to the PHP class TYPO3\CMS\Core\Information\Typo3Information
in order to benefit from opcaching, and to exactly reference when they are used
and where they are used throughout TYPO3.
This allows for further optimizations during the Bootstrap process and in our testing suites.
In addition, the new PHP class encapsulates all global TYPO3-information and community-wide information in one place.
Impact¶
No E_USER_DEPRECATED
error is triggered, however the constants will work during
TYPO3 v10, and be removed with TYPO3 v11.
Affected Installations¶
Any TYPO3 installation with a custom extension that uses these constants directly, which is highly unlikely.
Migration¶
Use the public class constants or the public methods of the
new PHP class TYPO3\CMS\Core\Information\Typo3Information
directly.