Permalink
Browse files

Optimize autoload prefix in composer.json

By having more specific autoload prefixes it is possible to reduce the
number of stat calls made. Also it prevents conflicts with similar
namespaces.
  • Loading branch information...
1 parent eba223c commit 0e746aea1b53daf96038dbba37a52f3383ed4f2f @Slamdunk Slamdunk committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 composer.json
View
@@ -29,7 +29,7 @@
"symfony/yaml": "2.2.*"
},
"autoload": {
- "psr-0": { "Symfony\\Component\\Validator": "" }
+ "psr-0": { "Symfony\\Component\\Validator\\": "" }
},
"target-dir": "Symfony/Component/Validator",
"minimum-stability": "dev",

0 comments on commit 0e746ae

Please sign in to comment.