From e8e1a2603eefe21fa81b40d9a02b402b4aa91b55 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 27 Nov 2024 14:22:54 +0700 Subject: [PATCH] more fixtures --- ...h_default_exception_with_next_stmt.php.inc | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 rules-tests/Php80/Rector/Switch_/ChangeSwitchToMatchRector/Fixture/mirrow_comment_with_default_exception_with_next_stmt.php.inc 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; + } +} + +?>