VKCOM / noverify

Pretty fast linter (code static analysis utility) for PHP
MIT License
673 stars 57 forks source link

linter: add `--strict-mixed` flag #1086

Closed i582 closed 3 years ago

i582 commented 3 years ago

Previously, by default, we would give an undefined method or property error even if the type of the variable was mixed, which led to the fact that poorly typed code gave a large number of errors.

Now this behavior has been taken under the --strict-mixed flag, without it in these cases an error will not be thrown.