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

Wrong symbol shown for error report on and/or non-boolean parameters #141

Open
dktapps opened this issue Nov 1, 2021 · 1 comment
Open

Comments

@dktapps
Copy link
Contributor

dktapps commented Nov 1, 2021

https://phpstan.org/r/e3b1da08-3844-4f2a-ac58-a6514af25849

and is used, but the error message shows &&. Similar problem for or and ||.

@ondrejmirtes
Copy link
Member

BooleanAndConstantConditionRule and BooleanOrConstantConditionRule in phpstan/phpstan also have this problem. This is the easiest issue to contribute ;)

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

No branches or pull requests

2 participants