restrict codesniffer warnings to undefined variables