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:

After C/P:

How can I fix that ?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With