Skip to content

Fix null to Str::contains deprecation #1571

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

Merged

Conversation

ziming
Copy link
Contributor

@ziming ziming commented Jul 12, 2025

I been getting this in my Sentry 900 times in production

CleanShot 2025-07-13 at 01 40 30@2x

There are 3 to 4 usages of Str::contains in laravel/horizon codebase. Unfortunately Sentry error message doesn't make it easy to pinpoint which is it exactly

But I think it is this 1 because

CleanShot 2025-07-13 at 01 47 02@2x

@taylorotwell taylorotwell merged commit 2744ca8 into laravel:5.x Jul 12, 2025
16 checks passed
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