PSR-2 coding standards compliant sniffer