From ae4d2b92ed3bdc481c28497aee37e4fd1a044209 Mon Sep 17 00:00:00 2001 From: mscherer Date: Wed, 27 Dec 2023 17:22:24 +0100 Subject: [PATCH 1/2] Init league/flysystem-v3 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9c52b47..8cc3f35 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "phpunit/phpunit": "^10.3", "phpstan/phpstan": "^1.10", "php-collective/code-sniffer": "^0.2.1", - "php-collective/file-storage": "dev-master as 1.0", + "php-collective/file-storage": "dev-league/flysystem-v3 as 1.0", "instituteweb/composer-scripts": "^1.1" }, "minimum-stability": "dev", From bf7c85c61d4c8f88c19dc975af160e477fc72fe0 Mon Sep 17 00:00:00 2001 From: mscherer Date: Wed, 27 Dec 2023 17:33:43 +0100 Subject: [PATCH 2/2] Init league/flysystem-v3 --- src/ImageProcessor.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ImageProcessor.php b/src/ImageProcessor.php index 952ca9b..c14220c 100644 --- a/src/ImageProcessor.php +++ b/src/ImageProcessor.php @@ -178,7 +178,6 @@ protected function copyOriginalFileData(FileInterface $file, $tempFileStream) if ($stream === null) { $stream = $storage->readStream($file->path()); - $stream = $stream['stream']; } else { rewind($stream); }