fixed code sniffer violations.