Fixed most phpcoder sniffer errors