Closed peterfox closed 5 months ago
Sometimes the rule could generate broken code where a variable might not exist as it's created in the If statement's condition. In this instance the rule shouldn't make any changes.
if ($foo && $bar = call()) { throw new Exception($foo, $bar); }
Changes
Why
Sometimes the rule could generate broken code where a variable might not exist as it's created in the If statement's condition. In this instance the rule shouldn't make any changes.