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:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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)'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user