Skip to content
Permalink
Browse files

Adapt to fclose() in PHP 8

  • Loading branch information...
sebastianbergmann committed Jun 6, 2019
1 parent 73ece92 commit 7cf41f95d6d637cf851567a39ed7973bab466abb
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/unit/Framework/Constraint/IsTypeTest.php
@@ -77,7 +77,9 @@ public function testConstraintIsResourceTypeEvaluatesCorrectlyWithResources($res
$this->assertTrue($constraint->evaluate($resource, '', true));
@\fclose($resource);
if (\is_resource($resource)) {
@\fclose($resource);
}
}
public function resources()

0 comments on commit 7cf41f9

Please sign in to comment.
You can’t perform that action at this time.