Issue Task Closed

#55043Ensure usage of base constants in the core

Michiel Roos 01/16/14, 10:07 updated 10/23/17, 21:41

Description

All core code should be checked for usage of TYPO3 defined constants instead of calling methods / functions.

It’s more expensive to call chr(10) multiple times than to use the LF constant.

\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::defineBaseConstants() Defines many constants which should be used.

The CGL must clearly emphasise the availability of the constants.

Reviews 1