Skip to content

v1.3.0

Compare
Choose a tag to compare
@ericsizemore ericsizemore released this 12 Dec 00:43
· 240 commits to master since this release

1.3.0 (2023-12-11)

  • currentUrl() no longer has any parameters, and just returns the URL string.
    • currentUrl(bool $parse = false) is now just currentUrl()
    • Just run parse_url(Utility::currentUrl()) if that functionality is needed.
  • serverHttpVars() deprecated, just use getallheaders() instead.
    • Added ralouphie/getallheaders as a polyfill, for situations where the SAPI is not Apache
    • serverHttpVars() will just return the getallheaders() output
  • Removed deprecated statusHeader()
  • Code cleanup per PHPCS and PHPScrutinizer
    • Small refactoring of some functions, such as currentUrl and isReallyWritable
  • Attempt at increasing test coverage.
  • Further cleanup to try and adhere to PSR-12.
    • Adding information into README.md for PHPDoc related guidelines, in an effort
      to adhere to PSR-5 and PSR-19.

Full Changelog: v1.2.0...v1.3.0