-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v5 - Support Laravel ^11, upgrade to Intervention Image v3 (#26)
* update composer.json * update grumphp, add pint * wip: upgrade ImageDispenser to use Invervention 3 * require php:^8.2 * update ImageDispenser * update composer scripts * fix tests
- Loading branch information
Showing
32 changed files
with
631 additions
and
1,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
grumphp: | ||
extensions: | ||
- YieldStudio\GrumPHPLaravelPint\ExtensionLoader | ||
tasks: | ||
ecs: | ||
config: ~ | ||
level: ~ | ||
paths: [ ] | ||
files_on_pre_commit: false | ||
triggered_by: [ 'php' ] | ||
clear-cache: false | ||
no-progress-bar: true | ||
laravel_pint: | ||
config: pint.json | ||
preset: laravel | ||
phpunit: | ||
config_file: ~ | ||
testsuite: Unit | ||
testsuite: ~ | ||
group: [ ] | ||
always_execute: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"preset": "psr12" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace ReliqArts\GuidedImage\Contract; | ||
|
||
use Intervention\Image\Interfaces\DecoderInterface; | ||
use Intervention\Image\Interfaces\ImageInterface; | ||
use RuntimeException; | ||
|
||
interface ImageManager | ||
{ | ||
/** | ||
* @throws RuntimeException | ||
* | ||
* @see \Intervention\Image\ImageManager::create() | ||
*/ | ||
public function create(int $width, int $height): ImageInterface; | ||
|
||
/** | ||
* @throws RuntimeException | ||
* | ||
* @see \Intervention\Image\ImageManager::read() | ||
*/ | ||
public function read(mixed $input, string|array|DecoderInterface $decoders = []): ImageInterface; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.