1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-16 19:58:14 +01:00

Rename class

This commit is contained in:
Oliver Vogel 2024-08-03 11:03:32 +02:00
parent 66040006f3
commit 460b205687
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ namespace Intervention\Image\Tests\Traits;
use Intervention\Image\Traits\CanBuildFilePointer;
trait CanDetectInterlacedPng
trait CanInspectPngFormat
{
use CanBuildFilePointer;

View File

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

View File

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