From: Timo Tijhof Date: Sat, 22 Sep 2018 16:45:18 +0000 (+0100) Subject: resourceloader: Mark clearCache() as private (only for tests) X-Git-Tag: 1.34.0-rc.0~4000^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=dfc47317052f2523218ca24781385a13117668b8;p=lhc%2Fweb%2Fwiklou.git resourceloader: Mark clearCache() as private (only for tests) Exclude from coverage report as well. Change-Id: I5281b42dab802d5a5a58ee33a3b12a77229503c8 --- diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index 604a140de5..052c5b3b23 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -1583,6 +1583,9 @@ MESSAGE; * Global state and $wgRequest are evil, but we're using it right * now and sometimes we need to be able to force ResourceLoader to * re-evaluate the context because it has changed (e.g. in the test suite). + * + * @internal For use by unit tests + * @codeCoverageIgnore */ public static function clearCache() { self::$debugMode = null;