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
Fix: strnatcasecmp(): Passing null to parameter #1 ($string1) of type string is deprecated #21413
Conversation
@blankse Thanks for creating this PR. Would you mind explaining where the error occurred? Also would you maybe mind to recreate this PR against |
…1) of type string is deprecated
2cebf7d
to
d8169fe
Compare
@sgiehl I rebased to The deprecation warning is skipped by the ErrorHandler. You need to remove this lines to see it: Lines 139 to 142 in 952df60
Or create a Breakpoint in a xdebug session. I think this should be used only for the I think the |
If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'. |
This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers |
This PR was last updated more than one month ago, maybe it's time to close it. Please check if there is anything we still can do or close this PR. ping @matomo-org/core-reviewers |
Description:
Since php 8.1 it is deprecated to pass null to the strnatcasecmp() method. The category of the reports can be null.
Review