[TYPO3-core] Coding Guidelines about PHP Namespaces

Philipp Gampe philipp.gampe at typo3.org
Mon Mar 25 18:28:45 CET 2013

Hi Jigal van Hemert,

Jigal van Hemert wrote:

> 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)


Best regards
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!

More information about the TYPO3-team-core mailing list