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:
parent
6c213a9f6f
commit
6d61686f68
3 changed files with 8 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue