-
-
Notifications
You must be signed in to change notification settings - Fork 738
is_a() usage in the codebase #5906
Copy link
Copy link
Labels
Description
Hi, I see many instances of is_a() usages in the codebase. It's not compatible with static reflection as it needs the classes loaded in runtime. It's fine when you ask about stuff that's already loaded (like PhpParser nodes, PHPStan classes, phpdoc-parser classes), but it shouldn't be used for analysed code.
Reactions are currently unavailable