Skip to content

Commit 5c98762

Browse files
committed
bug fix
1 parent c3fd60a commit 5c98762

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/php-testing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
operating-system: [ubuntu-22.04]
12-
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
12+
php-versions: ['8.1', '8.2', '8.3', '8.4']
1313
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
1414
steps:
1515
- name: Checkout

test/ImageResizeTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function testLoadWebp()
6464
$image = __DIR__ . '/ressources/test_webp.webp';
6565
$resize = new ImageResize($image);
6666

67-
$this->assertEquals(IMAGETYPE_WEBP, $resize->source_type);
67+
$this->assertEquals(IMAGETYPE_WEBP, $resize->getSourceWidth());
6868
$this->assertInstanceOf('\Gumlet\ImageResize', $resize);
6969
}
7070

0 commit comments

Comments
 (0)