class RuboCop::Cop::Rails::HttpPositionalArguments

def needs_conversion?(data)

rubocop:disable Metrics/CyclomaticComplexity
def needs_conversion?(data)
  return false if data.forwarded_args_type? || forwarded_kwrestarg?(data)
  return true unless data.hash_type?
  return false if kwsplat_hash?(data)
  data.each_pair.none? do |pair|
    special_keyword_arg?(pair.key) || (format_arg?(pair.key) && data.pairs.one?)
  end
end