@noinspection for one line

is it possible to use @noinspection for just one line of code or for a special area in code?
E.g. I would like to suppress error for the following: "Cannot resolve file path '$pathMiddle'.

echo "<div class='$classRegisterBackground' style='background: url($pathMiddle) repeat-x;'>";

Just to switch off all inspection is no option, because I really need inspection.
On the other hand it is very hard for debugging to see always the same "warnings", so switching of error inspection for e.g. one line of code would be nice.

Thank you, Adrian.


Please sign in to leave a comment.