From: Jeremy Benoist Date: Wed, 24 Feb 2016 12:43:00 +0000 (+0100) Subject: Add namespace prefix for psr-4 X-Git-Tag: 2.0.0-beta.1~12^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=744746135254b3fe712d41e3a9b125cf50002a34;p=github%2Fwallabag%2Fwallabag.git Add namespace prefix for psr-4 > Defining autoload.psr-4 with an empty namespace prefix is a bad idea for performance --- diff --git a/composer.json b/composer.json index 796c4c15..70a50f09 100644 --- a/composer.json +++ b/composer.json @@ -126,7 +126,7 @@ } }, "autoload": { - "psr-4": { "": "src/" }, + "psr-4": { "Wallabag\\": "src/Wallabag/" }, "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] }, "config": {