class RuboCop::Cop::Performance::CaseWhenSplat

def replacement(conditions)

def replacement(conditions)
  reordered = conditions.partition(&:splat_type?).reverse
  reordered.flatten.map(&:source).join(', ')
end