Skip to content

Commit

Permalink
Re-add incorrectly removed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed Feb 20, 2022
1 parent fffc0d8 commit 21de80a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/TryCatchTest.php
Expand Up @@ -368,6 +368,14 @@ class_alias(
}
}'
],
'suppressUndefinedVarInFinally' => [
'code' => '<?php
try {} finally {
/** @psalm-suppress UndefinedGlobalVariable, MixedPropertyAssignment */
$event->end = null;
}
',
],
'returnsInTry' => [
'code' => '<?php
final class A
Expand Down

0 comments on commit 21de80a

Please sign in to comment.