Peter Fox
Peter Fox
> Since this rule works on phpdoc types and most other rules only work on native types, do we need some special documentation or rule-set for it? @staabm I've just...
There's a number of functions off the top of my head that are in core PHP. - array_walk - array_filter - array_reduce - array_diff_uassoc
I can see what you mean but technically all rules can be informed by incorrect hinting. PHPStan is informed by both native types and phpdocs. Checking an ObjectType might be...
@samsonasik I have now rebased the rules. No changes required.