Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bepsvpt committed Dec 16, 2024
1 parent a53905e commit a1978ca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/BlurHashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function file(string $name): string
return __DIR__.'/images/'.$name;
}

public function testGdDriverEncode(): void
public function test_gd_driver_encode(): void
{
$path = $this->file('01.jpg');

Expand Down Expand Up @@ -61,7 +61,7 @@ public function testGdDriverEncode(): void
);
}

public function testImagickDriverEncode(): void
public function test_imagick_driver_encode(): void
{
$path = $this->file('01.jpg');

Expand Down Expand Up @@ -93,7 +93,7 @@ public function testImagickDriverEncode(): void
$this->assertSame($hash, $blurhash->encode($path));
}

public function testPhpVipsDriverEncode(): void
public function test_php_vips_driver_encode(): void
{
$path = $this->file('01.jpg');

Expand Down Expand Up @@ -128,7 +128,7 @@ public function testPhpVipsDriverEncode(): void
);
}

public function testDifferentFormatsEncode(): void
public function test_different_formats_encode(): void
{
$hash = new BlurHash('gd');

Expand Down Expand Up @@ -176,7 +176,7 @@ public function testDifferentFormatsEncode(): void
/**
* @requires PHP >= 8.1.0
*/
public function testAvifFormatEncode(): void
public function test_avif_format_encode(): void
{
$hash = new BlurHash('gd');

Expand All @@ -186,7 +186,7 @@ public function testAvifFormatEncode(): void
);
}

public function testGdDriverDecode(): void
public function test_gd_driver_decode(): void
{
$image = (new BlurHash('gd'))->decode(
'rDBDsRV@00xu_NIU4nx]?b.8WBDit7-;RjIUxaxux]WBM{kCjZj[s;WBRjRPjZofjZkBkCaxjZWB%gkCM{jZt7WCWBj?j[Mxj[kCa|kCoLj[WBR*',
Expand All @@ -207,7 +207,7 @@ public function testGdDriverDecode(): void
$this->assertSame(md5_file($this->file('10.jpg')), md5_file($path));
}

public function testImagickDriverDecode(): void
public function test_imagick_driver_decode(): void
{
$image = (new BlurHash('imagick'))->decode(
'rDBDsRV@00xu_NIU4nx]?b.8WBDit7-;RjIUxaxux]WBM{kCjZj[s;WBRjRPjZofjZkBkCaxjZWB%gkCM{jZt7WCWBj?j[Mxj[kCa|kCoLj[WBR*',
Expand All @@ -228,7 +228,7 @@ public function testImagickDriverDecode(): void
$this->assertSame('305ada74d76f6ed94ad743659abe2a29', md5_file($path));
}

public function testPhpVipsDriverDecode(): void
public function test_php_vips_driver_decode(): void
{
$image = (new BlurHash('php-vips'))->decode(
'rDBDsRV@00xu_NIU4nx]?b.8WBDit7-;RjIUxaxux]WBM{kCjZj[s;WBRjRPjZofjZkBkCaxjZWB%gkCM{jZt7WCWBj?j[Mxj[kCa|kCoLj[WBR*',
Expand All @@ -252,7 +252,7 @@ public function testPhpVipsDriverDecode(): void
);
}

public function testLaravelFacade(): void
public function test_laravel_facade(): void
{
$this->assertSame(
'L8Am^~jG00xu_NR*4TtQ.8R%IUkD',
Expand Down

0 comments on commit a1978ca

Please sign in to comment.