Codesniffer and comment fixes for spam library