From 6ba6abd9a3f6637191a38fd648ced20987254680 Mon Sep 17 00:00:00 2001 From: Pieter Hoste Date: Tue, 22 May 2018 21:07:00 +0200 Subject: [PATCH] Add generated code to the psr-0 autoloader section so when optimizing the autoloader on a production environment the autoloader will find more classes in its classmap. This should result in fewer file_exists calls and might increase the performance a tiny bit. --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f8182c96f78a0..760ec0da13f42 100644 --- a/composer.json +++ b/composer.json @@ -278,7 +278,8 @@ }, "psr-0": { "": [ - "app/code/" + "app/code/", + "generated/code/" ] }, "files": [