Skip to content
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

Merged
merged 1 commit into from
Apr 5, 2018

Conversation

pmmaga
Copy link
Contributor

@pmmaga pmmaga commented Apr 5, 2018

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.

@tillkruss tillkruss changed the title Add missing dependency on league/flysystem-cached-adapter [5.6] Add missing dependency on league/flysystem-cached-adapter Apr 5, 2018
@taylorotwell taylorotwell merged commit d60b1c1 into laravel:5.6 Apr 5, 2018
@GrahamCampbell
Copy link
Member

This should surely be in suggest, not require. The subpackage dependency also needs to be updated.

@pmmaga
Copy link
Contributor Author

pmmaga commented Apr 5, 2018

If you ever write unit tests to cover Illuminate\Filesystem\Cache I guess you'll need the parent class around.

@GrahamCampbell
Copy link
Member

Doesn't mean it should go in require though. If that were the case, everything in suggest would be in require.

@pmmaga
Copy link
Contributor Author

pmmaga commented Apr 5, 2018

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.

@GrahamCampbell
Copy link
Member

Well, in that case, the suggest should be removed from the main composer.json.

taylorotwell pushed a commit that referenced this pull request Apr 6, 2018
* Revert "Add missing dependency on league/flysystem-cached-adapter (#23815)"

This reverts commit d60b1c1.

* Added to suggested deps

* Removed duplicate

* Sync with main composer.json

* Added to require-dev
TBlindaruk pushed a commit to TBlindaruk/laravel-framework that referenced this pull request Apr 7, 2018
TBlindaruk pushed a commit to TBlindaruk/laravel-framework that referenced this pull request Apr 7, 2018
* 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
TBlindaruk pushed a commit to TBlindaruk/laravel-framework that referenced this pull request Apr 7, 2018
TBlindaruk pushed a commit to TBlindaruk/laravel-framework that referenced this pull request Apr 7, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants