From e4f73beb0848c120207d2ed71a0e354d4e4b2e6f Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sun, 17 Jul 2022 14:06:07 -0400 Subject: [PATCH] Add comment for skipped test --- tests/TypeReconciliation/TypeAlgebraTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TypeReconciliation/TypeAlgebraTest.php b/tests/TypeReconciliation/TypeAlgebraTest.php index 60aed090452..b25593f9ca5 100644 --- a/tests/TypeReconciliation/TypeAlgebraTest.php +++ b/tests/TypeReconciliation/TypeAlgebraTest.php @@ -212,6 +212,9 @@ function foo(?string $a): void { } }', ], + // skipping this old test because it breaks if the elseif becomes + // an else if, and I don't believe it's a pattern that happens often + // enough to warrant special-casing 'SKIPPED-twoVarLogicNotNestedWithElseifCorrectlyReinforcedInIf' => [ 'code' => '