-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
[5.6] Add missing dependency on league/flysystem-cached-adapter #23815
Conversation
This should surely be in suggest, not require. The subpackage dependency also needs to be updated. |
If you ever write unit tests to cover Illuminate\Filesystem\Cache I guess you'll need the parent class around. |
Doesn't mean it should go in require though. If that were the case, everything in suggest would be in require. |
The difference between this "suggestion" and all the others is that this is the only one that you have a class extending from. If you try to generate code coverage without this dependency this will be very obvious. |
Well, in that case, the suggest should be removed from the main composer.json. |
* Revert "Add missing dependency on league/flysystem-cached-adapter (laravel#23815)" This reverts commit d60b1c1. * Added to suggested deps * Removed duplicate * Sync with main composer.json * Added to require-dev
* Revert "Add missing dependency on league/flysystem-cached-adapter (laravel#23815)" This reverts commit d60b1c1. * Added to suggested deps * Removed duplicate * Sync with main composer.json * Added to require-dev
Illuminate\Filesystem\Cache extends League\Flysystem\Cached\Storage\AbstractCache which can only be found in the package added in this PR.
NOTE: As a side-effect this fixes phpunit's code coverage generation which was my original goal.