I used to get highlights for any unused constants or class constants in PhpStorm.
Now I can't get it work again. Maybe it was a plugin, I'm not sure.
What I've tried:
- I've tried to run the code inspector
- I've tried to use phpmd (PHP code mess detector) and also tried PHP CodeSniffer
- I've tried PHP Inspections (EA Extended)
Declaration / Highlights of unused constants used to show automatically without running any inspection or commands.