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

Replace starts_with() with Str::startsWith() #330

Merged
merged 1 commit into from
May 14, 2024

Conversation

duncanmcclean
Copy link
Member

In Statamic 5, we dropped our dependency on the laravel/helpers package which provided a variety of array & string helper methods that ultimately pointed towards Laravel's Arr and Str classes.

One of the methods it provides was starts_with, which since it doesn't exist, was causing errors when attempting to view reports in SEO Pro.

Fixes #329.

@jesseleite jesseleite merged commit 8ce1a72 into master May 14, 2024
24 checks passed
@jesseleite jesseleite deleted the fix/laravel-helpers-usage branch May 14, 2024 21:29
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.

Generating and showing a report leads to error message
2 participants