-
-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
rectorphp/rector-src
#4850Description
Feature Request
Thank you very much for making rector. It simplifies my work ❤️
I'm currently upgrading a legacy project to php8. I stumbled upon a use of get_headers, which rector isn't aware of it's changes parameter $associative.
https://www.php.net/manual/en/function.get-headers.php#refsect1-function.get-headers-changelog
https://getrector.com/demo/06beb867-accf-4a43-a749-442098f0938b
Diff
-get_headers($url, 1);
+get_headers($url, true);Reactions are currently unavailable