mirror of
https://github.com/danog/phpdoc-parser.git
synced 2025-01-22 13:51:20 +01:00
TOKEN_OPEN_PHPDOC (/**) must be always followed by whitespace
This commit is contained in:
parent
f8a1d21be1
commit
dd308d8554
@ -126,7 +126,7 @@ class Lexer
|
||||
self::TOKEN_DOUBLE_ARROW => '=>',
|
||||
self::TOKEN_EQUAL => '=',
|
||||
|
||||
self::TOKEN_OPEN_PHPDOC => '/\\*\\*',
|
||||
self::TOKEN_OPEN_PHPDOC => '/\\*\\*(?=\\s)',
|
||||
self::TOKEN_CLOSE_PHPDOC => '\\*/',
|
||||
self::TOKEN_PHPDOC_TAG => '@[a-z-]++',
|
||||
self::TOKEN_PHPDOC_EOL => '\\r?+\\n\\h*+(?:\\*(?!/)\\h*+)?',
|
||||
|
Loading…
x
Reference in New Issue
Block a user