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

Update psr/http-message requirement from ^1.0 to ^2.0 #202

Merged
merged 3 commits into from Jun 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2023

Updates the requirements on psr/http-message to permit the latest version.

Release notes

Sourced from psr/http-message's releases.

2.0

Added return types, see https://www.php-fig.org/psr/psr-7/meta/#72-type-additions

Changelog

Sourced from psr/http-message's changelog.

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

1.0.1 - 2016-08-06

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Updated all @return self annotation references in interfaces to use @return static, which more closelly follows the semantics of the specification.
  • Updated the MessageInterface::getHeaders() return annotation to use the value string[][], indicating the format is a nested array of strings.
  • Updated the @link annotation for RequestInterface::withRequestTarget() to point to the correct section of RFC 7230.
  • Updated the ServerRequestInterface::withUploadedFiles() parameter annotation to add the parameter name ($uploadedFiles).
  • Updated a @throws annotation for the UploadedFileInterface::moveTo() method to correctly reference the method parameter (it was referencing an incorrect parameter name previously).

1.0.0 - 2016-05-18

Initial stable release; reflects accepted PSR-7 specification.

Commits
  • 402d35b Merge pull request #95 from Stilch/add-param-and-return-type-hints
  • 947607b Merge branch 'master' into add-param-and-return-type-hints
  • cb6ce48 Merge pull request #94 from Stilch/add-param-hints
  • 3def521 Added void as return types
  • 520dd0e Added string as return types for __toString
  • 6ae06cd Added a string typehint for the $requestTarget argument
  • f84c2d7 Changed php version
  • 641e9f8 Changed the requirements for the PHP version and removed declare strict types
  • 54df5d4 Add return typehints
  • 5cd5ad7 Adds parameter typehints
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [psr/http-message](https://github.com/php-fig/http-message) to permit the latest version.
- [Release notes](https://github.com/php-fig/http-message/releases)
- [Changelog](https://github.com/php-fig/http-message/blob/master/CHANGELOG.md)
- [Commits](php-fig/http-message@1.0...2.0)

---
updated-dependencies:
- dependency-name: psr/http-message
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels May 12, 2023
@what-the-diff
Copy link

what-the-diff bot commented May 12, 2023

PR Summary

  • Updated package "psr/http-message" version
    The package "psr/http-message" has been updated from version 1.0 to 2.0, enhancing compatibility and performance.

@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (19adc71) 97.61% compared to head (b2032d3) 97.61%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #202   +/-   ##
=========================================
  Coverage     97.61%   97.61%           
  Complexity      140      140           
=========================================
  Files             9        9           
  Lines           419      419           
=========================================
  Hits            409      409           
  Misses           10       10           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vjik vjik requested a review from a team May 12, 2023 20:23
@vjik vjik added the status:code review The pull request needs review. label May 12, 2023
@vjik vjik merged commit d7a31ab into master Jun 6, 2023
17 checks passed
@vjik vjik deleted the dependabot/composer/psr/http-message-tw-2.0 branch June 6, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants