From: Kunal Mehta Date: Tue, 21 Aug 2018 07:18:50 +0000 (-0700) Subject: Ignore CentralIdLookup::resetCache() in code coverage reports X-Git-Tag: 1.34.0-rc.0~4358^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/%27.%24imageUrl.%27?a=commitdiff_plain;h=0c9f059722dc59bddc0f9685fdb890fd9c59f6a9;p=lhc%2Fweb%2Fwiklou.git Ignore CentralIdLookup::resetCache() in code coverage reports Change-Id: I4c3603354b0aa9396f620b9894d384e676db7f95 --- diff --git a/includes/user/CentralIdLookup.php b/includes/user/CentralIdLookup.php index 2a86f4a891..1d7f380822 100644 --- a/includes/user/CentralIdLookup.php +++ b/includes/user/CentralIdLookup.php @@ -67,6 +67,7 @@ abstract class CentralIdLookup implements IDBAccessObject { /** * Reset internal cache for unit testing + * @codeCoverageIgnore */ public static function resetCache() { if ( !defined( 'MW_PHPUNIT_TEST' ) ) {