Skip to content

Commit

Permalink
Tokenizer/PHP: add missing scope closers
Browse files Browse the repository at this point in the history
Noticed (while working on something else) there were some typical scope closers missing from the array.
  • Loading branch information
jrfnl committed Sep 2, 2020
1 parent 1371c59 commit 50ddc56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tokenizers/PHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,10 @@ class PHP extends Tokenizer
T_ENDFOREACH => T_ENDFOREACH,
T_ENDWHILE => T_ENDWHILE,
T_ENDSWITCH => T_ENDSWITCH,
T_ENDDECLARE => T_ENDDECLARE,
T_BREAK => T_BREAK,
T_END_HEREDOC => T_END_HEREDOC,
T_END_NOWDOC => T_END_NOWDOC,
];

/**
Expand Down

0 comments on commit 50ddc56

Please sign in to comment.