fix(php): heredocs injections & highlights

This commit is contained in:
ObserverOfTime 2023-08-11 14:33:30 +03:00 committed by Christian Clason
parent 39f07cd375
commit d8e625df2d
2 changed files with 20 additions and 0 deletions

View file

@ -138,6 +138,13 @@
] @string
(escape_sequence) @string.escape
[
(heredoc_start)
(heredoc_end)
] @label
(nowdoc "'" @label)
(boolean) @boolean
(null) @constant.builtin
(integer) @number
@ -271,6 +278,7 @@
"&"
"<<"
">>"
"<<<"
"->"
"?->"