replace #convention and #warning methods with direct calls to #add_offence, using the #custom_severity or #default_severity of a Cop