EscapeOutput: correctly report on unsafe printing functions
EscapeOutput: correctly report on unsafe printing functions

If `$end_of_statement` had not been determined, the sniff would report report on `OutputNotEscaped`, but not on `UnsafePrintingFunction`s.
To report on `UnsafePrintingFunction`s, the code in the condition does not actually need the `$end_of_statement`, so this minor logic change allows for the sniff to report the correct error.

mattyrob/WordPress-Coding-Standards,paulschreiber/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards,mattyrob/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards,mattyrob/WordPress-Coding-Standards,jrfnl/WordPress-Coding-Standards,paulschreiber/WordPress-Coding-Standards,mattyrob/WordPress-Coding-Standards,paulschreiber/WordPress-Coding-Standards,paulschreiber/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards,jrfnl/WordPress-Coding-Standards,mattyrob/WordPress-Coding-Standards,jrfnl/WordPress-Coding-Standards,jrfnl/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards