diff --git a/tests/TryCatchTest.php b/tests/TryCatchTest.php index 861075c48fd..bba89cb602d 100644 --- a/tests/TryCatchTest.php +++ b/tests/TryCatchTest.php @@ -368,6 +368,14 @@ class_alias( } }' ], + 'suppressUndefinedVarInFinally' => [ + 'code' => 'end = null; + } + ', + ], 'returnsInTry' => [ 'code' => '