1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-29 08:40:33 +02:00

Merge branch 'develop' into feature/standard-rules

This commit is contained in:
Oliver Vogel
2024-01-30 19:37:39 +01:00
31 changed files with 209 additions and 209 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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)'));
}
}