From: Bryan Davis Date: Sun, 2 Aug 2015 02:07:21 +0000 (-0600) Subject: Remove classmap-authoratative: true from composer.json X-Git-Tag: 1.31.0-rc.0~10551 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=db0d6164c2f4641d1684d4941e05cb37f7f71aa0;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 },