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

Ignore PHPstan error #149

Merged
merged 1 commit into from
May 27, 2024
Merged

Ignore PHPstan error #149

merged 1 commit into from
May 27, 2024

Conversation

jessarcher
Copy link
Member

This fixes a new PHPStan error that should never occur in practice. The preg_replace calls on the lines below should always return a string. Ideally it would throw an exception on failure instead of null, but I don't want to pull in the "safe" library just to fix this.

@jessarcher jessarcher merged commit 5fac84e into main May 27, 2024
7 checks passed
@jessarcher jessarcher deleted the fix-phpstan-error branch May 27, 2024 00:24
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.

1 participant