From d9e2a811f0b3dd9b6a08e96b50171deca2387bbc Mon Sep 17 00:00:00 2001 From: Laurent Calvet Date: Sun, 7 Aug 2022 22:51:19 +0200 Subject: [PATCH] fix(autoload): Add classmap to fix autoload with legacy classes (#11492) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e87c05a183d..aade76f0c59 100644 --- a/composer.json +++ b/composer.json @@ -86,7 +86,7 @@ "Tests\\": "tests/php/", "Centreon\\Test\\Api\\": "tests/api/" }, - "classmap": ["www/class/"], + "classmap": ["www/class/", "lib/Centreon"], "files" : [ "GPL_LIB/smarty-plugins/function.eval.php", "www/api/exceptions.php",