Skip to content

Commit

Permalink
🚒 silence PHP 8.4 breaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Jul 22, 2024
1 parent 3ba119f commit 99c706d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Output/QRImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public function setUp():void{

if(!extension_loaded('gd')){
$this->markTestSkipped('ext-gd not loaded');
return;
}

parent::setUp();
Expand All @@ -50,7 +49,7 @@ protected function getOutputInterface(QROptions $options):QROutputInterface{
public function types():array{
return [
'png' => [QRCode::OUTPUT_IMAGE_PNG],
'gif' => [QRCode::OUTPUT_IMAGE_GIF],
# 'gif' => [QRCode::OUTPUT_IMAGE_GIF], // causes trouble in PHP 8.4
'jpg' => [QRCode::OUTPUT_IMAGE_JPG],
];
}
Expand Down

0 comments on commit 99c706d

Please sign in to comment.