PHPStorm - show all errors on inspection

后端 未结 2 2124
醉梦人生
醉梦人生 2021-02-10 08:03

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

相关标签:
2条回答
  • 2021-02-10 08:42

    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:

    0 讨论(0)
  • 2021-02-10 08:50

    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.

    0 讨论(0)
提交回复
热议问题