Sanitizing function Code Sniffer issue