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

Explicitly mark nullable parameter #1034

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

cedric-anne
Copy link
Contributor

Implicitly nullable parameter declarations are deprecated in PHP 8.4. The proposed change is safe and is not considered by PHP as a signature change, see https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

@cedric-anne
Copy link
Contributor Author

Ping @shadowhand .

PHP 8.4 will be released soon :)

@cedric-anne
Copy link
Contributor Author

Same as #1039.

@ramsey
Copy link
Contributor

ramsey commented Dec 10, 2024

Thank you for contributing! 🎉

Leaving a note to say we're not going to worry about the test failures on PHP 5.6 and 7.0, due to the ? syntax. We will be dropping support for these versions.

@ramsey ramsey merged commit c19ecc6 into thephpleague:master Dec 10, 2024
22 of 26 checks passed
@cedric-anne cedric-anne deleted the feature/php-8.4 branch December 10, 2024 08:00
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.

2 participants