[TYPO3-core] RFC: Clean up typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Nov 24 19:55:02 CET 2007
Oliver Hader schrieb:
> This is a SVN patch request.
>
> Problem:
> I came over typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php on
> researching for RFC #6817 and found some elderly code.
>
> Solution:
> * change formatting of the code
> * exchange while(...=each()) with foreach() and remove reset()
> * exchange "..." constructs by '...'
> * exchange $array[key] by $array['key']
> * remove debug/testing code and comments
> * add PHPdoc for methods
+1 on reading.
Masi
More information about the TYPO3-team-core
mailing list