From 85e812f2014482ff187f4f77e1cd8843d817ff93 Mon Sep 17 00:00:00 2001 From: mweimerskirch <362092+mweimerskirch@users.noreply.github.com> Date: Fri, 17 Feb 2023 17:57:15 +0100 Subject: [PATCH] Replace empty namespace autoloader with classmap (#95) 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 11fb4bf2..aa291ed6 100644 --- a/composer.json +++ b/composer.json @@ -47,9 +47,9 @@ ] }, "autoload": { - "psr-4": { - "": "src/" - }, + "classmap": [ + "src/" + ], "files": [ "cron-command.php" ]