We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee2c40d + 04fe9ef commit 9996798Copy full SHA for 9996798
1 file changed
tests/Basic/ScreenshotTest.php
@@ -25,6 +25,8 @@ public function testScreenshot(): void
25
$this->fail('The screenshot should be a valid image');
26
}
27
28
- imagedestroy($img);
+ if (\PHP_VERSION_ID < 80000) {
29
+ imagedestroy($img);
30
+ }
31
32
0 commit comments