Deprecation: #85793 - Several constants from SystemEnvironmentBuilder¶
See forge#85793
Description¶
The following constants have been deprecated and should not be used any longer:
NUL
(Use"\0"
instead)TAB
(Use"\t"
instead)SUB
(Usechr(26)
instead)TYPO3_URL_MAILINGLISTS
TYPO3_URL_DOCUMENTATION
TYPO3_URL_DOCUMENTATION_TSREF
TYPO3_URL_DOCUMENTATION_TSCONFIG
TYPO3_URL_CONSULTANCY
TYPO3_URL_CONTRIBUTE
TYPO3_URL_SECURITY
TYPO3_URL_DOWNLOAD
TYPO3_URL_SYSTEMREQUIREMENTS
Impact¶
The above constants are still defined in TYPO3 v9, but their definition will be dropped in TYPO3 v10.
Affected Installations¶
Constants can not be deprecated as such and using them does not trigger a PHP E_USER_DEPRECATED
error.
Extensions in TYPO3 v9 should not use them any longer but switch to the alternatives already.
The extension scanner will find usages of the above constants and marks them as strong matches.
Migration¶
Use one of the chr(*)
variants or replace the constant usage with the URL in your own code.