PhpStorm find normal code as wrong code and invalidate cache not working.

Somehow, phpstorm acting weird. "Missing function's return type declaration" is not going away even if there IS a return type declaration.

Catch thowable exceptions for comment is able to repeat. Function name detected as a typo character by character .. and so on..

Invalidate cache DO solve the problem in a minutes. Problem happens immediate after writing other code.

1 comment

First of all, please try disabling all custom plugins at Settings | Plugins > click on a gear icon > "Disable All Downloaded Plugins", restart IDE and check the issue after that. Perhaps one of the 3rd party plugins is causing that.

Then, is it a locally stored project? Or it's a project on a mounted network disc or something similar?


Please sign in to leave a comment.