Skip to content

Commit e7d680a

Browse files
committed
Merge branch 'feature/tokenizer-php-bug-fix' of https://github.com/jrfnl/PHP_CodeSniffer
2 parents a71aad2 + 39c4410 commit e7d680a

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
@@ -1899,6 +1899,8 @@ function return types. We want to keep the parenthesis map clean,
18991899
T_NULLSAFE_OBJECT_OPERATOR => true,
19001900
T_FUNCTION => true,
19011901
T_CLASS => true,
1902+
T_INTERFACE => true,
1903+
T_TRAIT => true,
19021904
T_EXTENDS => true,
19031905
T_IMPLEMENTS => true,
19041906
T_ATTRIBUTE => true,

0 commit comments

Comments
 (0)