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

Use composer/pcre for better regexp static analysis #416

Merged
merged 3 commits into from
Oct 20, 2024
Merged

Conversation

spaze
Copy link
Owner

@spaze spaze commented Oct 20, 2024

Use composer/preg's Regex class instead of preg_*() and Strings::*().
Also use the provided PHPStan extension to check regular expressions.

Close #401

@spaze spaze self-assigned this Oct 20, 2024
@spaze spaze merged commit 00f510c into main Oct 20, 2024
41 checks passed
@spaze spaze deleted the spaze/composer/pcre branch October 20, 2024 05:00
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.

Use composer/pcre for all things regexp
1 participant