1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-01 01:51:43 +02:00

Remove unused variables

This commit is contained in:
Oliver Vogel
2024-01-30 19:24:42 +01:00
parent 9015739860
commit 1357b61993
5 changed files with 9 additions and 9 deletions

View File

@@ -29,10 +29,10 @@ class ChannelTest extends TestCase
$this->assertInstanceOf(Channel::class, $channel); $this->assertInstanceOf(Channel::class, $channel);
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Channel(); new Channel();
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Channel(normalized: 2); new Channel(normalized: 2);
} }
public function testConstructorFail(): void public function testConstructorFail(): void

View File

@@ -29,10 +29,10 @@ class ChannelTest extends TestCase
$this->assertInstanceOf(Hue::class, $channel); $this->assertInstanceOf(Hue::class, $channel);
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Hue(); new Hue();
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Hue(normalized: 2); new Hue(normalized: 2);
} }
public function testConstructorFail(): void public function testConstructorFail(): void

View File

@@ -30,10 +30,10 @@ class ChannelTest extends TestCase
$this->assertInstanceOf(Hue::class, $channel); $this->assertInstanceOf(Hue::class, $channel);
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Hue(); new Hue();
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Hue(normalized: 2); new Hue(normalized: 2);
} }
public function testConstructorFail(): void public function testConstructorFail(): void

View File

@@ -28,10 +28,10 @@ class ChannelTest extends TestCase
$this->assertInstanceOf(Channel::class, $channel); $this->assertInstanceOf(Channel::class, $channel);
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Channel(); new Channel();
$this->expectException(ColorException::class); $this->expectException(ColorException::class);
$channel = new Channel(normalized: 2); new Channel(normalized: 2);
} }
public function testConstructorFail(): void public function testConstructorFail(): void

View File

@@ -22,6 +22,6 @@ class ColorProcessorTest extends TestCase
public function testNativeToColor(): void public function testNativeToColor(): void
{ {
$processor = new ColorProcessor(new Colorspace()); $processor = new ColorProcessor(new Colorspace());
$result = $processor->nativeToColor(new ImagickPixel('rgb(255, 55, 0)')); $processor->nativeToColor(new ImagickPixel('rgb(255, 55, 0)'));
} }
} }