Fix php8.2 Deprecation warnings for strpos/preg_match/mb_strwidth in extractQueryString/extractQueryString/limit#57653
Closed
tivvie wants to merge 3 commits intolaravel:12.xfrom
Closed
Fix php8.2 Deprecation warnings for strpos/preg_match/mb_strwidth in extractQueryString/extractQueryString/limit#57653tivvie wants to merge 3 commits intolaravel:12.xfrom
tivvie wants to merge 3 commits intolaravel:12.xfrom
Conversation
Member
|
You shouldn't be passing null to these methods. |
|
So we have to litter blade templates with |
|
Other patches were merged that fix "Passing null to parameter" deprecation warnings:
Others were rejected, though: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
We log php deprecation warnings of our Laravel app in Sentry.
These fixes benefit us that we don't recive them anymore.
As soon as PHP removes this functionality in the next version, a fix will be needed.
My code does not introduce any side effects. (hopefully)
If i missed somthing please contact me.
Thanks!
Timothy Elias