v1.3.0
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.
- Adding information into README.md for PHPDoc related guidelines, in an effort
Full Changelog: v1.2.0...v1.3.0