From 0257fd7a29e0467bb3aff3bb086c34eeb778220d Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar Date: Fri, 25 Dec 2020 15:11:48 +0530 Subject: [PATCH 1/2] =?UTF-8?q?Remove=20wp-cli=20autoloader=20=F0=9F=A5=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composer.json b/composer.json index db7c89a..4bd8429 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,8 @@ "files": [ "src/auth-utils.php", "src/helper/hooks.php", + "src/db/Auth.php", + "src/db/Whitelist.php", "auth-command.php" ] }, From b8ef70e0a754b38cacf5fba48095022862625e87 Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar Date: Sat, 5 Jun 2021 14:27:30 +0530 Subject: [PATCH 2/2] Added files in psr-4 autoloading --- composer.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 4bd8429..273b70a 100644 --- a/composer.json +++ b/composer.json @@ -10,14 +10,11 @@ "autoload": { "psr-4": { "": "src/", - "\\EE\\Model\\": "src/db/" + "EE\\Model\\": "src/db/" }, "files": [ - "src/auth-utils.php", - "src/helper/hooks.php", - "src/db/Auth.php", - "src/db/Whitelist.php", - "auth-command.php" + "auth-command.php", + "src/auth-utils.php" ] }, "extra": {