Skip to content

Commit 39b34bb

Browse files
I do not know how to test these two lines of code
1 parent 1145763 commit 39b34bb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Factory.php

+2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ private function resolveWildcards(array $paths): array
8181
if ($locals = glob($path, GLOB_ONLYDIR)) {
8282
$_paths[] = array_map('\realpath', $locals);
8383
} else {
84+
// @codeCoverageIgnoreStart
8485
$_paths[] = [realpath($path)];
86+
// @codeCoverageIgnoreEnd
8587
}
8688
}
8789

src/Iterator.php

+2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ public function accept(): bool
4848
$realPath = $current->getRealPath();
4949

5050
if ($realPath === false) {
51+
// @codeCoverageIgnoreStart
5152
return false;
53+
// @codeCoverageIgnoreEnd
5254
}
5355

5456
return $this->acceptPath($realPath) &&

0 commit comments

Comments
 (0)