Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

zend-diactoros 1.8.3

Choose a tag to compare

@weierophinney weierophinney released this 24 Jul 21:56
· 247 commits to master since this release

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #321 updates the logic in Uri::withPort() to ensure that it checks that the
    value provided is either an integer or a string integer, as only those values
    may be cast to integer without data loss.

  • #320 adds checking within Response to ensure that the provided reason
    phrase is a string; an InvalidArgumentException is now raised if it is not. This change
    ensures the class adheres strictly to the PSR-7 specification.

  • #319 provides a fix to Zend\Diactoros\Response that ensures that the status
    code returned is always an integer (and never a string containing an
    integer), thus ensuring it strictly adheres to the PSR-7 specification.