[TYPO3-core] RFC: #9372: Code in class.tx_tstemplateanalyzer.php don't match with the new CGL
Martin Kutschker
masi-no at spam-typo3.org
Wed Sep 17 22:44:42 CEST 2008
Stefano Kowalke schrieb:
> Hi,
>
> This is an SVN patch request.
>
> Type: Code Cleaning / Whitespace
>
> Bugtracker reference: http://bugs.typo3.org/view.php?id=9372
>
> Branches: 4.2, trunk
I think trunk is sufficient as no bug fixes are added.
> Problem:
> Code in file class.tx_tstemplateanalyzer.php don't match with the Coding
> Guidlines.
>
> Solution:
> * Add spaces
> * remove obsolete 'global $LANG' in modMenu() because not translation needed
> there
main() has a lot's of global stuff that can be removed as well.
> * changing boolean '0' to 'false'
> * changing boolean '1' to 'true'
You forgot to convert " to ' for simple strings.
Masi
More information about the TYPO3-team-core
mailing list