[TYPO3-core] RFC #7909: Code cleanup: PHP5ize t3lib_iconworks to bring in line with it's documentation.
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Fri Mar 21 20:59:24 CET 2008
Kasper Ligaard schrieb:
> This is an SVN patch request.
>
> Type: Code cleanup
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=7909
>
> Branches: TYPO3_4-2
>
> Problem:
> In the documentation for t3lib_iconworks it states:
>
> ALL functions called without making a class instance, eg.
> "t3lib_iconWorks::getIconImage()"
>
> Now that we have PHP5 as a minimum we should make the function in
> t3lib_iconworks 'public static'.
>
> Solution:
> - The attached patch adds 'public static' to all the function of
> t3lib_iconworks.
> - It marks the class final
> - It replaces tabs between function declarations and '{' with a space.
> - It inserts spaces where appropriate around = and after commas.
Another one similar to #7903 has been commited by me.
Masi
More information about the TYPO3-team-core
mailing list