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

Removing unneeded dep on psr/http-message #15

Merged
merged 2 commits into from Feb 5, 2020
Merged

Conversation

Jean85
Copy link
Member

@Jean85 Jean85 commented Mar 26, 2019

As suggested in #13, we can remove this dep (and move it as a suggestion) to the PSR-7 package, since we do not use it directly.

@Jean85 Jean85 self-assigned this Mar 26, 2019
@GrahamCampbell
Copy link

Ping @weierophinney.

"php": "^5.3 || ^7.0"
},
"suggest": {
"psr/http-message": "The package containing the PSR-7 interfaces"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this package was intended as a direct utility for the PSR-7 package it makes sense to suggest it.
But in hinsight of what the package currently provides (generally usable HTTP related constants), it isn't even necessary to suggest the other package.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the suggestion is still a good idea; it's not saying you MUST install them, but it IS indicating that the primary reason they exist is for that package.

@weierophinney weierophinney merged commit 3f98077 into master Feb 5, 2020
@Jean85 Jean85 deleted the remove-dep branch February 7, 2020 09:43
weierophinney added a commit that referenced this pull request Nov 24, 2020
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
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

4 participants