diff --git a/tests/Colors/Cmyk/ChannelTest.php b/tests/Colors/Cmyk/ChannelTest.php index 3b0c82e2..038aa7f6 100644 --- a/tests/Colors/Cmyk/ChannelTest.php +++ b/tests/Colors/Cmyk/ChannelTest.php @@ -29,10 +29,10 @@ class ChannelTest extends TestCase $this->assertInstanceOf(Channel::class, $channel); $this->expectException(ColorException::class); - $channel = new Channel(); + new Channel(); $this->expectException(ColorException::class); - $channel = new Channel(normalized: 2); + new Channel(normalized: 2); } public function testConstructorFail(): void diff --git a/tests/Colors/Hsl/ChannelTest.php b/tests/Colors/Hsl/ChannelTest.php index e86254a0..b88f7985 100644 --- a/tests/Colors/Hsl/ChannelTest.php +++ b/tests/Colors/Hsl/ChannelTest.php @@ -29,10 +29,10 @@ class ChannelTest extends TestCase $this->assertInstanceOf(Hue::class, $channel); $this->expectException(ColorException::class); - $channel = new Hue(); + new Hue(); $this->expectException(ColorException::class); - $channel = new Hue(normalized: 2); + new Hue(normalized: 2); } public function testConstructorFail(): void diff --git a/tests/Colors/Hsv/ChannelTest.php b/tests/Colors/Hsv/ChannelTest.php index 68c866cd..bc3bf08d 100644 --- a/tests/Colors/Hsv/ChannelTest.php +++ b/tests/Colors/Hsv/ChannelTest.php @@ -30,10 +30,10 @@ class ChannelTest extends TestCase $this->assertInstanceOf(Hue::class, $channel); $this->expectException(ColorException::class); - $channel = new Hue(); + new Hue(); $this->expectException(ColorException::class); - $channel = new Hue(normalized: 2); + new Hue(normalized: 2); } public function testConstructorFail(): void diff --git a/tests/Colors/Rgb/ChannelTest.php b/tests/Colors/Rgb/ChannelTest.php index 7982d2ae..95da26b0 100644 --- a/tests/Colors/Rgb/ChannelTest.php +++ b/tests/Colors/Rgb/ChannelTest.php @@ -28,10 +28,10 @@ class ChannelTest extends TestCase $this->assertInstanceOf(Channel::class, $channel); $this->expectException(ColorException::class); - $channel = new Channel(); + new Channel(); $this->expectException(ColorException::class); - $channel = new Channel(normalized: 2); + new Channel(normalized: 2); } public function testConstructorFail(): void diff --git a/tests/Drivers/Imagick/ColorProcessorTest.php b/tests/Drivers/Imagick/ColorProcessorTest.php index 5515b581..2268d15d 100644 --- a/tests/Drivers/Imagick/ColorProcessorTest.php +++ b/tests/Drivers/Imagick/ColorProcessorTest.php @@ -22,6 +22,6 @@ class ColorProcessorTest extends TestCase public function testNativeToColor(): void { $processor = new ColorProcessor(new Colorspace()); - $result = $processor->nativeToColor(new ImagickPixel('rgb(255, 55, 0)')); + $processor->nativeToColor(new ImagickPixel('rgb(255, 55, 0)')); } }