From e717ac6fff6aaf59bc605f9363ad1b16442d6e98 Mon Sep 17 00:00:00 2001 From: orklah Date: Sun, 13 Feb 2022 19:05:51 +0100 Subject: [PATCH] add test --- tests/EnumTest.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tests/EnumTest.php b/tests/EnumTest.php index 3297151ee2d..f1b74ba4ba9 100644 --- a/tests/EnumTest.php +++ b/tests/EnumTest.php @@ -405,6 +405,32 @@ function foo(): int|Code|null 'ignored_issues' => [], 'php_version' => '8.1', ], + 'EnumCaseReconciliation' => [ + 'code' => ' [ + '$code1' => 'Code|Code::Ok', + '$code2' => 'never', + ], + 'ignored_issues' => [], + 'php_version' => '8.1', + ], ]; }