Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPStorm syntax highlighting showing false errors

For some time, PHPStorm 6 is behaving strangely: it keeps syntax errors displayed even when they're fixed.

The only way to clear them is to Cut and Paste.

Before C/P:

Before Copy/Paste

After C/P:

After Copy Paste

How can I fix that ?

like image 825
theredled Avatar asked May 12 '26 17:05

theredled


1 Answers

Seems PHPStorm indexes are broken (as you have to cut/paste to get errors disappear). Please try invalidating caches (File/invalidate caches, restart). Does it help? if it doesn't, please contact PHPStorm support

like image 50
lena Avatar answered May 17 '26 02:05

lena



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!