Jeroen De Dauw has uploaded a new change for review.

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


Change subject: Add code coverage ignore
......................................................................

Add code coverage ignore

Change-Id: Ic0d61b281cda538cf1be1767b05f6e632608fca3
---
M src/differ/MapDiffer.php
1 file changed, 2 insertions(+), 0 deletions(-)


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

diff --git a/src/differ/MapDiffer.php b/src/differ/MapDiffer.php
index 1514e1d..ca61d04 100644
--- a/src/differ/MapDiffer.php
+++ b/src/differ/MapDiffer.php
@@ -130,7 +130,9 @@
                        return new DiffOpAdd( $newSet[$key] );
                }
 
+               // @codeCoverageIgnoreStart
                throw new LogicException( 'The element needs to exist in either 
the old or new list to compare' );
+               // @codeCoverageIgnoreEnd
        }
 
        protected function getDiffOpForElementRecursively( $key, array $oldSet, 
array $newSet ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/80368
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0d61b281cda538cf1be1767b05f6e632608fca3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Diff
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to