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
https://psalm.dev/r/350fbcf692
If second parameter of function bindtextdomain is string then function work as setter and do not should be UnusedFunctionCall.
UnusedFunctionCall
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php bindtextdomain('xxx', '//test/x');
Psalm output (using commit fe190c2): ERROR: UnusedFunctionCall - 3:1 - The call to bindtextdomain is not used
Sorry, something went wrong.
bindtextdomain is considered pure by psalm and this is not true.
You can fix that by adding the function in this list of unpure functions:
psalm/src/Psalm/Internal/Codebase/Functions.php
Line 384 in 105c6f3
Successfully merging a pull request may close this issue.
https://psalm.dev/r/350fbcf692
If second parameter of function bindtextdomain is string then function work as setter and do not should be
UnusedFunctionCall
.The text was updated successfully, but these errors were encountered: