From a92585a2dbc3e241f2d1dada9410e43c36b8bd53 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Mon, 27 Nov 2023 12:40:31 +0100 Subject: [PATCH] Revert "Temporarily disable failing test" This reverts commit f9598e9120604abf29920c29715293e7f6033547. --- tests/PHPStan/Analyser/data/match-expr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PHPStan/Analyser/data/match-expr.php b/tests/PHPStan/Analyser/data/match-expr.php index 8ea043679e..68e37bd5bf 100644 --- a/tests/PHPStan/Analyser/data/match-expr.php +++ b/tests/PHPStan/Analyser/data/match-expr.php @@ -62,11 +62,11 @@ public function doBar(int $i): void }; assertType('1|2|3|4', $i); - /*match ($i) { + match ($i) { assertType('1|2|3|4', $i), 1, assertType('2|3|4', $i) => null, assertType('2|3|4', $i) => null, default => assertType('2|3|4', $i), - };*/ + }; } public function doGettype(int|float|bool|string|object|array $value): void