Skip to content

Commit

Permalink
add unreachable statement test on UnnecessaryTernaryExpressionRector
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 5, 2025
1 parent b01e81c commit b2fba0b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class B
}
}

$order || $oldOrder ? true : false;

?>
-----
<?php
Expand Down Expand Up @@ -52,4 +54,6 @@ class B
}
}

$order || $oldOrder;

?>

0 comments on commit b2fba0b

Please sign in to comment.