Skip to content

Tags: php-fig/http-message

Tags

2.0

Toggle 2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #95 from Stilch/add-param-and-return-type-hints

Add return typehints

Since [psr/http-message version 2.0](https://packagist.org/packages/psr/http-message#2.0.0), the above interfaces have been updated to add return type declarations.
https://www.php-fig.org/psr/psr-7/meta/

1.1

Toggle 1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #94 from Stilch/add-param-hints

Adds parameter typehints, as per the erata

Since [psr/http-message version 1.1](https://packagist.org/packages/psr/http-message#1.1.0), the above interfaces have been updated to add argument type declarations.
https://www.php-fig.org/psr/psr-7/meta/

1.0.1

Toggle 1.0.1's commit message
psr/http-message 1.0.1

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

Toggle 1.0's commit message
Merge pull request #42 from Maks3w/patch-2

Typo s/RFC3985/RFC3986/

0.11.0

Toggle 0.11.0's commit message
Merge pull request #43 from weierophinney/hotfix/sync-with-spec

Update to latest PSR-7 version

0.10.1

Toggle 0.10.1's commit message
Merge pull request #39 from weierophinney/hotfix/psr7-uri-return

Sync with php-fig/fig-standards#518

0.10.0

Toggle 0.10.0's commit message
Merge pull request #38 from weierophinney/feature/post-draft-2

Bring interfaces up-to-date with php-fig/fig-standards@b740164

0.9.2

Toggle 0.9.2's commit message
Merge pull request #10 from siwinski/pr-remove-doc-exec

Remove documentation executable bits

0.9.1

Toggle 0.9.1's commit message
Merge pull request #27 from weierophinney/hotfix/uri-encoding

Added language to withPath() regarding percent encoding

0.9.0

Toggle 0.9.0's commit message
Merge pull request #23 from weierophinney/feature/parsed-body

Body parameters are the parsed body.