rubocop: Drop "ff" from Naming/MethodParameterName allowlist

- It seems that "ff" was short for plural formula, so formulae.
This commit is contained in:
Issy Long 2023-03-08 00:29:47 +00:00
parent a3211f4d7f
commit f52fbaf917
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4
2 changed files with 2 additions and 3 deletions

View File

@ -195,7 +195,6 @@ Naming/MethodParameterName:
"c2",
"e",
"f",
"ff",
"o",
"pr",
]

View File

@ -17,9 +17,9 @@ module Homebrew
#
# @api private
module Diagnostic
def self.missing_deps(ff, hide = nil)
def self.missing_deps(formulae, hide = nil)
missing = {}
ff.each do |f|
formulae.each do |f|
missing_dependencies = f.missing_dependencies(hide: hide)
next if missing_dependencies.empty?