[TYPO3-core] Coding Guidelines about PHP Namespaces

Steffen Ritter steffen.ritter at typo3.org
Fri Mar 29 08:04:01 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)

+2 most reasonable approch (i'm currently following myself anyhow)

Steffen Ritter
Release Manager TYPO3 4.7

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

More information about the TYPO3-team-core mailing list