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%24www_url%7Dadmin/%7B%7Blocalurle:Project:%C3%A7%C2%94%C2%BB%C3%A5%C2%83%C2%8F%C3%A5%C2%88%C2%A9%C3%A7%C2%94%C2%A8%C3%A3%C2%81%C2%AE%C3%A6%C2%96%C2%B9%C3%A9%C2%87%C2%9D%7D%7D%22?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' ) ) {