Ported 'RedundantTernaryExpressionIssue'.