Skip to content

Commit

Permalink
Optimize autoload prefix in composer.json
Browse files Browse the repository at this point in the history
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
Slamdunk committed Sep 28, 2012
1 parent eba223c commit 0e746ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -29,7 +29,7 @@
"symfony/yaml": "2.2.*" "symfony/yaml": "2.2.*"
}, },
"autoload": { "autoload": {
"psr-0": { "Symfony\\Component\\Validator": "" } "psr-0": { "Symfony\\Component\\Validator\\": "" }
}, },
"target-dir": "Symfony/Component/Validator", "target-dir": "Symfony/Component/Validator",
"minimum-stability": "dev", "minimum-stability": "dev",
Expand Down

0 comments on commit 0e746ae

Please sign in to comment.