We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e499994 commit eaf08b2Copy full SHA for eaf08b2
tests/Parser/Lexer.comments.phpt
@@ -33,7 +33,7 @@ Assert::token($tokens[2], TokenType::WHITESPACE, ' ', 15);
33
$tokens = $lexer->tokenizeAll(' /*! comment */ ');
34
//Assert::count($tokens, 3);
35
Assert::token($tokens[0], TokenType::WHITESPACE, ' ', 0);
36
-Assert::token($tokens[1], TokenType::COMMENT | TokenType::BLOCK_COMMENT | TokenType::HINT_COMMENT, '/*+ comment */', 1);
+Assert::token($tokens[1], TokenType::COMMENT | TokenType::BLOCK_COMMENT | TokenType::OPTIONAL_COMMENT, '/*! comment */', 1);
37
Assert::token($tokens[2], TokenType::WHITESPACE, ' ', 15);
38
39
0 commit comments