mirror of
https://github.com/Intervention/image.git
synced 2025-01-16 19:58:14 +01:00
Rename class
This commit is contained in:
parent
66040006f3
commit
460b205687
@ -6,7 +6,7 @@ namespace Intervention\Image\Tests\Traits;
|
||||
|
||||
use Intervention\Image\Traits\CanBuildFilePointer;
|
||||
|
||||
trait CanDetectInterlacedPng
|
||||
trait CanInspectPngFormat
|
||||
{
|
||||
use CanBuildFilePointer;
|
||||
|
@ -8,14 +8,14 @@ use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
|
||||
use Intervention\Image\Encoders\PngEncoder;
|
||||
use Intervention\Image\Tests\GdTestCase;
|
||||
use Intervention\Image\Tests\Traits\CanDetectInterlacedPng;
|
||||
use Intervention\Image\Tests\Traits\CanInspectPngFormat;
|
||||
|
||||
#[RequiresPhpExtension('gd')]
|
||||
#[CoversClass(\Intervention\Image\Encoders\PngEncoder::class)]
|
||||
#[CoversClass(\Intervention\Image\Drivers\Gd\Encoders\PngEncoder::class)]
|
||||
final class PngEncoderTest extends GdTestCase
|
||||
{
|
||||
use CanDetectInterlacedPng;
|
||||
use CanInspectPngFormat;
|
||||
|
||||
public function testEncode(): void
|
||||
{
|
||||
|
@ -8,14 +8,14 @@ use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
|
||||
use Intervention\Image\Encoders\PngEncoder;
|
||||
use Intervention\Image\Tests\ImagickTestCase;
|
||||
use Intervention\Image\Tests\Traits\CanDetectInterlacedPng;
|
||||
use Intervention\Image\Tests\Traits\CanInspectPngFormat;
|
||||
|
||||
#[RequiresPhpExtension('imagick')]
|
||||
#[CoversClass(\Intervention\Image\Encoders\PngEncoder::class)]
|
||||
#[CoversClass(\Intervention\Image\Drivers\Imagick\Encoders\PngEncoder::class)]
|
||||
final class PngEncoderTest extends ImagickTestCase
|
||||
{
|
||||
use CanDetectInterlacedPng;
|
||||
use CanInspectPngFormat;
|
||||
|
||||
public function testEncode(): void
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user