Skip to content

Commit c2d0671

Browse files
committed
Ignore coverage for unreachable sanity checks
1 parent a7dd9da commit c2d0671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MaximumMatching/Flow.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ public function getEdges()
5858
} elseif ($group === $groupB) {
5959
$vertex->createEdgeTo($superSink)->setCapacity(1)->setFlow(0);
6060
} else {
61+
// @codeCoverageIgnoreStart
6162
throw new LogicException('Should not happen. Unknown set: ' + $belongingSet);
63+
// @codeCoverageIgnoreEnd
6264
}
6365
}
6466

0 commit comments

Comments
 (0)