fix(php): update parser and queries

This commit is contained in:
Christian Clason 2024-05-04 10:25:15 +02:00
parent c579d186be
commit 4e21361e15
2 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@
.
(argument
(_
(string_value) @injection.content))))
(string_content) @injection.content))))
(#set! injection.language "regex")
(#lua-match? @_preg_func_identifier "^preg_"))
@ -31,7 +31,7 @@
.
(argument
(_
(string_value) @injection.content))))
(string_content) @injection.content))))
(#set! injection.language "bash")
(#any-of? @_shell_func_identifier
"shell_exec" "escapeshellarg" "escapeshellcmd" "exec" "passthru" "proc_open" "shell_exec"
@ -39,5 +39,5 @@
(expression_statement
(shell_command_expression
(string_value) @injection.content)
(string_content) @injection.content)
(#set! injection.language "bash"))