diff --git a/rules-tests/Php80/Rector/Switch_/ChangeSwitchToMatchRector/Fixture/mirrow_comment_with_default_exception_with_next_stmt.php.inc b/rules-tests/Php80/Rector/Switch_/ChangeSwitchToMatchRector/Fixture/mirrow_comment_with_default_exception_with_next_stmt.php.inc new file mode 100644 index 0000000000..1fe636ce02 --- /dev/null +++ b/rules-tests/Php80/Rector/Switch_/ChangeSwitchToMatchRector/Fixture/mirrow_comment_with_default_exception_with_next_stmt.php.inc @@ -0,0 +1,47 @@ + +----- + 100, + // comment 1 + default => throw new \InvalidArgumentException(), + }; + + // comment 2 + return $statement; + } +} + +?>