Some time ago I managed to add a non width character in my PHP code. Because it had no width PhpStorm did not highlight it and I had absolutely no clue why there was an error in my code.
So it only highlights when it has width.
Edit: just added some non-space characters and at least in Rider they are now displayed as a warning. So I think this is fixed now.