From 1dd90a55ba3b9321fd09e6d4c66b6cd652e11650 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 63151a463b2c8..5ab00b2e9aa48 100644 --- a/composer.json +++ b/composer.json @@ -242,7 +242,8 @@ }, "psr-0": { "": [ - "app/code/" + "app/code/", + "generated/code/" ] }, "files": [