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

TASK: Correctly mark nullable method parameters as nullable #3429

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

dlubitz
Copy link
Contributor

@dlubitz dlubitz commented Jan 14, 2025

Replaces #3427

This PR will correctly mark implicit nullable types as nullable, which will remove deprecation warnings in PHP 8.4.

I've used rector to migrate all occurrences.
https://getrector.com/rule-detail/explicit-nullable-param-type-rector

See also for Neos: neos/neos-development-collection#5433

Note: We should run the rector migration again on 9.0 after upmerging this PR

Thanks to @Benjamin-K for bringing this up and providing the first PR (#3427).

Copy link
Member

@markusguenther markusguenther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great to me, and it seems like the flow is still running smoothly. :P

@markusguenther markusguenther merged commit d4dab3c into neos:8.3 Jan 15, 2025
9 checks passed
@dlubitz dlubitz deleted the task/84-nullable-parameter branch January 15, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants