From 70bd42d1ef92b5f9aae010c50db2c9a3fa6ec445 Mon Sep 17 00:00:00 2001 From: mweimerskirch <362092+mweimerskirch@users.noreply.github.com> Date: Fri, 17 Feb 2023 09:41:58 +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 0cac1497..bd1bfdd6 100644 --- a/composer.json +++ b/composer.json @@ -38,9 +38,9 @@ ] }, "autoload": { - "psr-4": { - "": "src/" - }, + "classmap": [ + "src/" + ], "files": [ "import-command.php" ]