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 #141

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 21, 2024

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Fix #139

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 Feb 21, 2024
Copy link

what-the-diff bot commented Feb 21, 2024

PR Summary

  • Update to Dependency Version in the composer.json File
    The version requirement for a key component, psr/http-message has been updated. This means our program is now using the more current version(^2.0) of this component, instead of the older version (^1.0). As a result, we can expect better performance and the availability of new features provided by the updated component. Not to mention, staying up-to-date with these types of dependencies can also enhance the overall security of our application.

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bc3eb5e) 99.48% compared to head (baa2180) 99.48%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #141   +/-   ##
=========================================
  Coverage     99.48%   99.48%           
  Complexity       85       85           
=========================================
  Files             2        2           
  Lines           195      195           
=========================================
  Hits            194      194           
  Misses            1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vjik vjik merged commit 58321de into master Feb 21, 2024
24 checks passed
@vjik vjik deleted the dependabot/composer/psr/http-message-tw-2.0 branch February 21, 2024 07:35
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support of psr/http-message version 2.0
1 participant