From 03f3e4595e54f851f187b4fc7f984379a35331f4 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sat, 26 Jun 2021 18:58:32 +0300 Subject: [PATCH] psr4 usage --- composer.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0e4aa40896..65c74434f0 100644 --- a/composer.json +++ b/composer.json @@ -45,10 +45,14 @@ "phpunit/phpunit": "^9" }, "autoload": { - "psr-0": { - "": "application/", - "tests": "", - "Espo\\Custom": "custom/" + "psr-4": { + "Espo\\": "application/Espo/", + "Espo\\Custom\\": "custom/Espo/Custom/" + } + }, + "autoload-dev": { + "psr-4": { + "tests\\": "tests/" } }, "repositories": [