PHPStorm newbie question.
I\'d installed PHPStorm yesterday and was very impressed. It identified countless small issues with my code, like referencing non-static classe
Invalidating caches didn't worked for me.
In my case inspections were disabled because I had activated a wrong profile that wasn't checking PHP issues.
So be sure to check the used profile:
Editor not doing proper code highlighting or not working inspections can be caused by the corrupted caches.
The solution is to do File
| Invalidate Caches
and restart the IDE.