From 80f92c289e6172bf90a4477eee0b0b1afc867380 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 14 Dec 2017 23:06:39 +0300 Subject: [PATCH] Switch to PSR-4 autoloader Change-Id: I8faf03f477bd59ab893c045a416a772a2fadfd91 --- extension.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/extension.json b/extension.json index 0b1344d..a8a5948 100644 --- a/extension.json +++ b/extension.json @@ -9,7 +9,7 @@ "license-name": "MIT", "type": "other", "requires": { - "MediaWiki": ">= 1.27.0", + "MediaWiki": ">= 1.31.0", "extensions": { "Echo": "*" } @@ -25,11 +25,8 @@ "i18n" ] }, - "AutoloadClasses": { - "LoginNotify\\DeferredChecksJob": "includes/DeferredChecksJob.php", - "LoginNotify\\Hooks": "includes/Hooks.php", - "LoginNotify\\LoginNotify": "includes/LoginNotify.php", - "LoginNotify\\PresentationModel": "includes/PresentationModel.php" + "AutoloadNamespaces": { + "LoginNotify\\": "includes/" }, "Hooks": { "BeforeCreateEchoEvent": [