Open MauricioFauth opened 12 months ago
The associative argument of the get_headers() function has been changed from int to bool in PHP 8.0.
PHP Fatal error: Uncaught TypeError: get_headers(): Argument #2 ($associative) must be of type bool, int given in /redacted/phly/keep-a-changelog/src/Entry/AbstractPrependLinkListener.php:86
https://github.com/phly/keep-a-changelog/blob/e45185a979707c1f953b650932bdf4bad4d96db5/src/Entry/AbstractPrependLinkListener.php#L83-L87
keep-a-changelog entry:changed -i 123 -- 'Change log entry'
Bug Report
Summary
The associative argument of the get_headers() function has been changed from int to bool in PHP 8.0.
Current behaviour
https://github.com/phly/keep-a-changelog/blob/e45185a979707c1f953b650932bdf4bad4d96db5/src/Entry/AbstractPrependLinkListener.php#L83-L87
How to reproduce