aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/ImageTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/ImageTest.php b/tests/lib/ImageTest.php
index f4da0275c2d..62d037d70c5 100644
--- a/tests/lib/ImageTest.php
+++ b/tests/lib/ImageTest.php
@@ -149,8 +149,7 @@ class ImageTest extends \Test\TestCase {
$img = new \OC_Image(null, null, $config);
$img->loadFromFile(OC::$SERVERROOT.'/tests/data/testimage.jpg');
$raw = imagecreatefromstring(file_get_contents(OC::$SERVERROOT.'/tests/data/testimage.jpg'));
- /** @psalm-suppress InvalidScalarArgument */
- imageinterlace($raw, (PHP_VERSION_ID >= 80000 ? true : 1));
+ imageinterlace($raw, true);
ob_start();
imagejpeg($raw, null, 80);
$expected = ob_get_clean();