You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour
See sample code $var1 on line 8 is actually used if the if conditions are met hence it shouldn't be highlighted as unused by inspections
The text was updated successfully, but these errors were encountered:
We are confirming the bug, and able to reproduce with the following example:
functionexample(bool$condition) {
if ($condition) {
$dynamic = '';
$dynamic .= ''; // <-- [EA] Parameter/variable is overridden, but is never used or appears outside of the scope.
}
return$dynamic ?? null;
}
Current behaviour
See sample code $var1 on line 8 is actually used if the if conditions are met hence it shouldn't be highlighted as unused by inspections
The text was updated successfully, but these errors were encountered: