From d845fb8b4c8802c96e204b39b29ff69212b7caba Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 18 Apr 2020 21:08:38 -0400 Subject: [PATCH] dev/core#1684 Use psr-4 autoloader instead of psr-0 for Civi directory This change is to allow underscores in class names, which were being misinterpreted as directory separators. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4ac9ffb0e3..6e414e4c66 100644 --- a/composer.json +++ b/composer.json @@ -29,10 +29,10 @@ "psr-0": { "PHPUnit_": ["packages/"], "Civi": "", - "Civi\\": [".", "tests/phpunit/"] + "Civi\\": ["tests/phpunit/"] }, "psr-4": { - "Civi\\": ["setup/src/"] + "Civi\\": [".", "setup/src/"] } }, "include-path": ["vendor/tecnickcom"], -- 2.25.1