]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add namespace prefix for psr-4
authorJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 24 Feb 2016 12:43:00 +0000 (13:43 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Wed, 24 Feb 2016 12:43:02 +0000 (13:43 +0100)
> Defining autoload.psr-4 with an empty namespace prefix is a bad idea for performance

composer.json

index 796c4c157acda684ad80eb8ccb4a7cc02b6727e9..70a50f09c0c5916467bbf3ef15097afa53f02048 100644 (file)
         }
     },
     "autoload": {
-        "psr-4": { "": "src/" },
+        "psr-4": { "Wallabag\\": "src/Wallabag/" },
         "classmap": [ "app/AppKernel.php", "app/AppCache.php" ]
     },
     "config": {