Issue Bug Closed

#19371Code in typo3/sysext/lang/lang.php don't match with the CGL

Stefano Kowalke 09/23/08, 22:19 updated 03/29/11, 14:18

Description

Code in file typo3/sysext/lang/lang.php don’t match with the Coding Guidlines.

  • Add spaces
  • changing boolean ‘0’ to ‘false’
  • changing boolean ‘1’ to ‘true’
  • remove reset() before foreach()
  • remove ‘var’, take public or protected instead
  • Array() -> array()
  • while(list() = each()) -> foreach()
  • global $TCA_DESCR; -> $GLOBALS[‘TCA_DESCR’]
  • switch: remove ‘break’ in default case
    *

(issue imported from #M9416)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.