-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flysystem Loader does not support v2 #1308
Comments
i was wondering why this can happen, but found that flysystem is an optional dependency in composer.json. we currently only test with flysystem 1. can you do a pull request that adjusts the flysystem in require-dev to allow version 1 or 2? if there are any tests, we should see if it works. the error you get is surpising me though. why would the Filesystem class not implement the FilesystemInterface? glad if you can investigate and provide a fix pull request. |
The upgrade to Flysystem v2 doesn't have a "FilesystemInterface". There are also some method changes. I'm not 100% sure what the best solution would be right now. Either create a "v2" class or check if the FilesystemInterface exists. Could be another option. Here's what I did.
|
It looks like supper for v2 has been merged - we just need a tag :) |
the tag happened (a while ago) https://github.com/liip/LiipImagineBundle/releases/tag/2.6.0 |
Upgrading to Flysystem v2 causes error
Preconditions
Steps to reproduce
Expected result
Actual result
The current workaround I have is a Custom FlysystemLoader.
References:
The text was updated successfully, but these errors were encountered: