Analyze a php project with a php.ini that will trigger rule php:S2092. Loading this hotspot in the security hotspot page will crash.
This is a common use-case that has been missed during the implementation of the new page. We should deal with hotspot without associated line and not try to load those lines in such case. We should still display the filename (that is available).
Do we just hide the code snippet? Or replace it by a message saying that there's nothing to show?
Since Security Hotspots with no code snippets are not common, we believe that user might be surprised not to see a code snippet. We will had a sentence in this case to make prevent any confusion: