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

Bug: template detection depends on maxStringLength setting #102

Open
boesing opened this issue Jun 8, 2022 · 0 comments · May be fixed by #123
Open

Bug: template detection depends on maxStringLength setting #102

boesing opened this issue Jun 8, 2022 · 0 comments · May be fixed by #123
Labels
bug Something isn't working

Comments

@boesing
Copy link
Owner

boesing commented Jun 8, 2022

This plugin can only detect the template (the part with %s, %d, etc.) on strings which are smaller than the maxStringLength setting within the psalm.xml.

The default value of psalm (as of this writing) is 1000 and thus, templates exceeding the length of 1000 chars won't be properly parsed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant