class Simplabs::Excellent::Checks::AssignmentInConditionalCheck
This check reports conditionals that test an assignment as in
something(var) if var = method()
Assignments in conditions are often typos.
Applies to¶ ↑
-
if
-
else
-
while
-
until
This check reports conditionals that test an assignment as in
something(var) if var = method()
Assignments in conditions are often typos.
if
else
while
until