From db0d6164c2f4641d1684d4941e05cb37f7f71aa0 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Sat, 1 Aug 2015 20:07:21 -0600 Subject: [PATCH] Remove classmap-authoratative: true from composer.json The use of classmap-authoratative: true provides a measurable performance improvement for MediaWiki on the WMF production cluster, but that environment really uses the composer.json in the mediawiki/vendor.git repo and not the composer.json in mediawiki/core.git. Since this setting is merely performance enhancing and can be worked around for WMF and other large scale users, it seems reasonable to change the default behavior to be more friendly to development use where there may be legitimate reasons for PSR0/4 autoloaders (eg bootstrapped tests in extensions). Bug: T107682 Change-Id: I805c1b82eb6bc93bf3a74a8a9d07e34f2f8c645f --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 9095355a30..00411a9d0a 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,6 @@ "pre-install-cmd": "ComposerHookHandler::onPreInstall" }, "config": { - "classmap-authoritative": true, "prepend-autoloader": false, "optimize-autoloader": true }, -- 2.20.1