Skip to content

Conversation

@peterfox
Copy link
Collaborator

Changes

  • Adds the new rule for processing substr() using Laravel's Str helper for startsWith() or endsWith() where appropriate.
  • Adds tests
  • Adds documentation

Why

Often older projects will use the substring method, allowing the end user to switch these out quickly.

@driftingly driftingly merged commit 87a4c23 into driftingly:main Jun 23, 2023
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