Skip to content

Commit 99c706d

Browse files
committedJul 22, 2024·
🚒 silence PHP 8.4 breaking test
1 parent 3ba119f commit 99c706d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎tests/Output/QRImageTest.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public function setUp():void{
2929

3030
if(!extension_loaded('gd')){
3131
$this->markTestSkipped('ext-gd not loaded');
32-
return;
3332
}
3433

3534
parent::setUp();
@@ -50,7 +49,7 @@ protected function getOutputInterface(QROptions $options):QROutputInterface{
5049
public function types():array{
5150
return [
5251
'png' => [QRCode::OUTPUT_IMAGE_PNG],
53-
'gif' => [QRCode::OUTPUT_IMAGE_GIF],
52+
# 'gif' => [QRCode::OUTPUT_IMAGE_GIF], // causes trouble in PHP 8.4
5453
'jpg' => [QRCode::OUTPUT_IMAGE_JPG],
5554
];
5655
}

0 commit comments

Comments
 (0)
Please sign in to comment.