slimphp / Slim-Psr7

PSR-7 implementation for use with Slim 4
MIT License
133 stars 45 forks source link

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

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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)
dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.