Actions
Bug #19371
closedCode in typo3/sysext/lang/lang.php don't match with the CGL
Start date:
2008-09-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions