class Foodcritic::Junit::Outputter
def store_violation
def store_violation if current_violation violations.push({ rule: current_violation[:rule], message: current_violation[:message], file_name: current_file_name, lines: current_violation_lines.join("\n") }) end end