The new PhpStorm 2019.2 by default detects unused classes/methods.
Is it possible for your plugin to detect controllers and mark them as used?
I let PhpStorm locate all classes that are unused and this is what I found:
These are reported as unused even if you have compiled kernel inside project tree:
These are reported as unused if you have compiled kernel outside project tree:
This pretty much boils down to anything that is a service which isn't used directly.
This seems a duplicate of #1366
@RikudouSage Please close in favor of #1366
@Jean85 @ruudk Isn't the other one duplicate of this, since this was first?
@RikudouSage You are right, but the other issue has more detailed information + reply from the maintainer. Just close this one and subscribe to the other one, it keeps the issue tracker a bit more organized 馃槉
Closed in favor of #1366
Most helpful comment
I let PhpStorm locate all classes that are unused and this is what I found:
These are reported as unused even if you have compiled kernel inside project tree:
These are reported as unused if you have compiled kernel outside project tree:
This pretty much boils down to anything that is a service which isn't used directly.