From d66a98270e28ad097245060b12ac2a3d5458b58e Mon Sep 17 00:00:00 2001 From: mweimerskirch <362092+mweimerskirch@users.noreply.github.com> Date: Fri, 17 Feb 2023 09:42:00 +0100 Subject: [PATCH] Replace empty namespace autoloader with classmap This fixes the issue described here: https://github.com/wp-cli/wp-cli/issues/5731 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 4e05e0c9..e7b1b147 100644 --- a/composer.json +++ b/composer.json @@ -41,9 +41,9 @@ ] }, "autoload": { - "psr-4": { - "": "src/" - }, + "classmap": [ + "src/" + ], "files": [ "export-command.php" ]