Skip to content

Commit 407e1d8

Browse files
Delete superfluous assertions
1 parent 557a32f commit 407e1d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Parser.php

-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
use const PREG_UNMATCHED_AS_NULL;
1313
use function array_pop;
14-
use function assert;
1514
use function count;
1615
use function max;
1716
use function preg_match;
@@ -50,9 +49,6 @@ public function parse(string $string): array
5049
$collected = [];
5150
}
5251

53-
assert(!empty($fromMatch['file']));
54-
assert(!empty($toMatch['file']));
55-
5652
$diff = new Diff($fromMatch['file'], $toMatch['file']);
5753

5854
$i++;

0 commit comments

Comments
 (0)