Skip to content

Commit 600c2c8

Browse files
committed
Ignoring one PHPStan warning
1 parent 546dfd3 commit 600c2c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Constraint/Pipeline/PipelineWritesFile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public function matches($other): bool
8282
);
8383
}
8484

85-
assert(\iterator_count($iterator) >= 0);
85+
/** @phpstan-ignore-next-line */
86+
\iterator_count($iterator);
8687

8788
$constraint = new FileExists();
8889
$constraint->evaluate($this->expected);

0 commit comments

Comments
 (0)