Assignment inside a condition is usually accidental, this is likely meant to be a comparison.
Apply with the Grit CLI
grit apply correct_true_comparison_operator
$x = true
BEFORE
class Bar { void main() { boolean myBoolean; if (myBoolean = true) { continue; } } }
AFTER
class Bar { void main() { boolean myBoolean; if (myBoolean == true) { continue; } } }