fix php code sniffer issues