Skip to content

Commit 50ddc56

Browse files
committed
Tokenizer/PHP: add missing scope closers
Noticed (while working on something else) there were some typical scope closers missing from the array.
1 parent 1371c59 commit 50ddc56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tokenizers/PHP.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,10 @@ class PHP extends Tokenizer
283283
T_ENDFOREACH => T_ENDFOREACH,
284284
T_ENDWHILE => T_ENDWHILE,
285285
T_ENDSWITCH => T_ENDSWITCH,
286+
T_ENDDECLARE => T_ENDDECLARE,
286287
T_BREAK => T_BREAK,
287288
T_END_HEREDOC => T_END_HEREDOC,
289+
T_END_NOWDOC => T_END_NOWDOC,
288290
];
289291

290292
/**

0 commit comments

Comments
 (0)