phpstan-src
phpstan-src copied to clipboard
Introduce ForbiddenInterfacesInClassImplementsRule
This pull request has been marked as ready for review.
I really don't know what to do with the pmmp errors, so initial review is appreciated.
What about checking just the literal extends and implements in the class AST instead of reflection which can pull in weird stuff from vendor and PHP extensions which we can't fix?