Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Explicit nullable parameter declarations to fix PHP 8.4 deprecation #50922

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Apr 4, 2024

Resend of #50921 to the 11.x branch

@GrahamCampbell
Should the rule nullable_type_declarations be added to the styleci config? (would this also result in changes in the 10.x branch if committed to 11.x?). I would leave such a change to you if you want because you know how styleci evaluates the config best.

Seems similar to the rule I used with Pint / PHP-CS-Fixer nullable_type_declaration_for_default_null_value, except that the description is a little different.

@driesvints
Copy link
Member

Thanks @Jubeki

@taylorotwell taylorotwell merged commit 654656d into laravel:11.x Apr 4, 2024
30 checks passed
@crynobone crynobone linked an issue Apr 5, 2024 that may be closed by this pull request
@Jubeki Jubeki deleted the nullable-styles2 branch April 5, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8.4: Implicitly nullable parameter declarations deprecated
3 participants