1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-12 08:54:03 +02:00

Move Geometry\Resizer to Geometry\Tools\Resizer

This commit is contained in:
Oliver Vogel
2022-07-13 16:58:08 +00:00
parent a24240acff
commit e79c5911b1
4 changed files with 4 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
namespace Intervention\Image\Geometry;
use Intervention\Image\Geometry\Resizer;
use Intervention\Image\Geometry\Tools\Resizer;
use Intervention\Image\Interfaces\PointInterface;
use Intervention\Image\Interfaces\SizeInterface;

View File

@@ -1,6 +1,6 @@
<?php
namespace Intervention\Image\Geometry;
namespace Intervention\Image\Geometry\Tools;
use Intervention\Image\Exceptions\GeometryException;
use Intervention\Image\Geometry\Size;

View File

@@ -2,7 +2,7 @@
namespace Intervention\Image\Traits;
use Intervention\Image\Geometry\Resizer;
use Intervention\Image\Geometry\Tools\Resizer;
use Intervention\Image\Interfaces\SizeInterface;
trait CanResizeGeometrically

View File

@@ -3,7 +3,7 @@
namespace Intervention\Image\Tests\Geometry;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Geometry\Resizer;
use Intervention\Image\Geometry\Tools\Resizer;
use Intervention\Image\Geometry\Size;
use PHPUnit\Framework\TestCase;
@@ -43,7 +43,6 @@ class ResizerTest extends TestCase
public function testToSize(): void
{
$size = new Size(300, 200);
$resizer = new Resizer();
$resizer = $resizer->toSize(new Size(200, 100));
$this->assertInstanceOf(Resizer::class, $resizer);