OneupUploaderBundle icon indicating copy to clipboard operation
OneupUploaderBundle copied to clipboard

FlysystemStorage: The league flysystem file doesn't exists

Open Garfield-fr opened this issue 3 years ago • 2 comments

Bug Report

In this file "/src/Uploader/Storage/FlysystemStorage.php" the class "League\Flysystem\File" is used, but does not exist anymore in the version 3 of "thephpleague/flysystem"

Q A
BC Break yes
Symfony 5.4
php 8.1
OneupUploaderBundle 3.2.0
league/flysystem 3.0.19

Garfield-fr avatar May 06 '22 14:05 Garfield-fr

OneupUploadBundle v4 is required to use league/flysystem v3. Unfortunately composer.json does not tell you.

@bytehead maybe a "conflicts" section in composer.json would help reducing bugs like these?

mvhirsch avatar Jan 28 '25 13:01 mvhirsch

@mvhirsch Good idea, would you like to provide a PR?

bytehead avatar Jan 28 '25 13:01 bytehead