From 56cb0f08f5cb606ae0fc80190dedb1f533ccc353 Mon Sep 17 00:00:00 2001 From: Martin Zurowietz Date: Wed, 17 Jul 2024 15:56:52 +0200 Subject: [PATCH 1/2] Remove use of VipsImage facade References https://github.com/biigle/core/pull/879 --- src/Jobs/ProcessAnnotatedVideo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jobs/ProcessAnnotatedVideo.php b/src/Jobs/ProcessAnnotatedVideo.php index 61d2fa7..970e222 100644 --- a/src/Jobs/ProcessAnnotatedVideo.php +++ b/src/Jobs/ProcessAnnotatedVideo.php @@ -14,7 +14,7 @@ use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Storage; use Jcupitt\Vips\Exception as VipsException; -use VipsImage; +use Jcupitt\Vips\Image as VipsImage; class ProcessAnnotatedVideo extends ProcessAnnotatedFile { From 97c760fe1a343759efd38d3d5e5b0c356245dc8a Mon Sep 17 00:00:00 2001 From: Martin Zurowietz Date: Wed, 17 Jul 2024 16:04:11 +0200 Subject: [PATCH 2/2] Update package requirements --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index db7ad10..01a202c 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,7 @@ ], "require": { "ext-vips": "*", - "jcupitt/vips": "^1.0", - "biigle/laravel-file-cache": "^4.1", + "jcupitt/vips": "^1.0 || ^2.0", "php-ffmpeg/php-ffmpeg": "^0.14 || ^0.19 || ^1.0", "meyfa/php-svg": "^0.14.6" },