Skip to content

Commit

Permalink
Ignore code in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage committed Apr 17, 2024
1 parent c0db79e commit e6c7b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helper/StringStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ public function tell(): int
$tell = ftell($this->stream);

// this doesn't happen anymore in php 8.3, but is kept here for older versions
/** @codeCoverageIgnoreStart */
// @codeCoverageIgnoreStart
if ($tell === false) {
throw new StreamException('Could not retrieve stream position. Is the stream after EOF?');
}
/** @codeCoverageIgnoreEnd */
// @codeCoverageIgnoreEnd

return $tell;
}
Expand Down

0 comments on commit e6c7b24

Please sign in to comment.