We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee2c40d commit 04fe9efCopy full SHA for 04fe9ef
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