-
Notifications
You must be signed in to change notification settings - Fork 51
fix: PHP 8.4 deprecation: remove all implicit nullable arguments #166
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
Conversation
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #166 +/- ##
=========================================
Coverage 75.09% 75.09%
- Complexity 437 455 +18
=========================================
Files 25 25
Lines 1104 1104
=========================================
Hits 829 829
Misses 275 275 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bednar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@murrant Thanks for the PR! Could you please clarify in the README.md how this will work with older versions of PHP?
|
Nullable types were added in PHP 7.1. The minimum PHP version for this project is PHP 7.2. There is no effect. |
Fixes an issue with PHP8.4 where implicit nullable arguments are deprecated. Nullable types require PHP 7.1, so project PHP version minimum remains 7.2.
db83495 to
0300bb6
Compare
|
Also, FYI, your php-cs-fixer is too old to implement nullable_type_declaration_for_default_null_value. I suggest updating your tools. |
|
ping @bednar |
|
@bednar could we get a new release for this? 🙏 |
|
done |
Closes #165
Proposed Changes
Fixes an issue with PHP8.4 where implicit nullable arguments are deprecated. Nullable types require PHP 7.1, so project PHP version minimum remains 7.2.
Checklist
make testcompletes successfully