[Flow] Flow, Composer, and PSR-0 Namespaces

Jacob Floyd cognifloyd at gmail.com
Fri Jun 28 22:40:05 CEST 2013


The composer docs[1] say to have a slash on the end of the PSR-0 Namespace declaration in composer.json.

So, if I'm reading the composer doc's right, Flow's namespace is (with slashes on the end of the namespace):
"autoload": { "psr-0": {
"TYPO3\\Flow\\": "Classes"
}}

but right now it is (without slashes on the end of the namespace):
"autoload": { "psr-0": {
"TYPO3\\Flow": "Classes"
}}

Is this difference intentional?

Doctrine and Imagine don't have slashes on the end, while symfony and composer do. Does it really matter?

Cheers,
Jacob Floyd

(1) http://getcomposer.org/doc/04-schema.md#psr-0


More information about the Flow mailing list