Migrate the rule IfConditionalAlwaysTrueOrFalseCheck S1145