[TYPO3-core] Coding Guidelines about PHP Namespaces

Anja Leichsenring aleichsenring at ab-softlab.de
Sun Mar 24 13:39:08 CET 2013


Am 24.03.2013 13:15, schrieb Jigal van Hemert:

> In general it seems sensible to me to:
> - import a namespace if it is used more than approx. three times in a file
> - don't use aliases unless there are conflicts
> - don't import namespaces that are not used
> - order the imports alphabetically
> - only use single imports (no multiple imports in a single "use" statement)
>

+1
like this approach.

Greetings
Anja


More information about the TYPO3-team-core mailing list