Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65266


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Diff 
refs/changes/66/65266/1

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: newchange
Gerrit-Change-Id: I37f2da06133d4f6b97349a51c4b80571dfb3065e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Diff
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to