1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 18:04:03 +00:00

cleanup, run CI tests with both intervention v2 and v3

This commit is contained in:
Samuel Štancl 2025-03-29 15:59:07 +01:00
parent 6c213a9f6f
commit 6d61686f68
3 changed files with 8 additions and 5 deletions

View file

@ -38,9 +38,9 @@ class GenerateFaviconsCommand extends Command
}
// Check Intervention Image version
$isV3 = interface_exists('\Intervention\Image\Interfaces\DriverInterface');
$interventionV3 = interface_exists('\Intervention\Image\Interfaces\DriverInterface');
if ($isV3) {
if ($interventionV3) {
// v3.x implementation
$manager = new ImageManager(
new \Intervention\Image\Drivers\Imagick\Driver()