jenkins-bot has submitted this change and it was merged.
Change subject: Ignore class autoloading in entry point in unit test coverage
report
......................................................................
Ignore class autoloading in entry point in unit test coverage report
Change-Id: I37f2da06133d4f6b97349a51c4b80571dfb3065e
---
M Diff.standalone.php
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Tobias Gritschacher: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Diff.standalone.php b/Diff.standalone.php
index bd0034f..d816255 100644
--- a/Diff.standalone.php
+++ b/Diff.standalone.php
@@ -19,6 +19,7 @@
die( 'Not an entry point for MediaWiki. Use Diff.php' );
}
+// @codeCoverageIgnoreStart
spl_autoload_register( function ( $className ) {
static $classes = false;
@@ -30,4 +31,5 @@
include_once __DIR__ . '/' . $classes[$className];
}
} );
+// @codeCoverageIgnoreEnd
--
To view, visit https://gerrit.wikimedia.org/r/65266
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I37f2da06133d4f6b97349a51c4b80571dfb3065e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Diff
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits