We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uselessTrim
trim()
This is a feature request to add uselessTrim like there is uselessCast.
uselessCast
repro: https://phpstan.org/r/daf97ab2-6a1b-4d54-a48e-d7503026c1c8
It should be possible for numeric-string, empty-string and known const strings.
numeric-string
empty-string
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a feature request to add
uselessTrim
like there isuselessCast
.repro: https://phpstan.org/r/daf97ab2-6a1b-4d54-a48e-d7503026c1c8
It should be possible for
numeric-string
,empty-string
and known const strings.The text was updated successfully, but these errors were encountered: