-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Prefer php-http/discovery over nyholm/psr7 when installed #1198
Conversation
Thanks for the PR 😍 How to test these changes in your application
Diff between recipe versionsIn order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. |
The recipe throws a warning about not being installable.
~/g/museado/museado$ composer why nyholm/psr7
php-http/discovery 1.19.4 conflicts nyholm/psr7 (<1.0)
toshy/bunnynet-php 4.5.0 requires nyholm/psr7 (^1.6.1)
~/g/museado/museado$ composer why php-http/discovery
knplabs/github-api v3.14.1 requires php-http/discovery (^1.12)
meilisearch/meilisearch-php v1.10.0 requires php-http/discovery (^1.7)
php-http/multipart-stream-builder 1.4.2 requires php-http/discovery (^1.15)
symfony/http-client v7.1.4 conflicts php-http/discovery (<1.15)
symfony/psr-http-message-bridge v7.1.4 conflicts php-http/discovery (<1.15) I got an explanation here: ToshY/BunnyNet-PHP#141 but is there a way to remove the warning? It's not causing any harm, of course. |
Is this a warning? I read this as: FYI, I didn't install a recipe for this package and here's the reason why. |
Yes, it's not a warning, but it's a message that says "I didn't do something because there was a conflict". So I'd love to avoid seeing that message, I think it happens on every deployment. |
I don't have a solution for skipping this warning. You can just ignore it for now. |
ah, that makes more sense. Thanks. |
Note that php-http/discovery itself defaults to nyholm/psr7 so in practice this shouldn't change much, except for people that want to rely on another PSR-17 implementation.