blob: 603aa8b01040b043409923642a392f3c4dbde021 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(text) @html
(comment) @phpdoc
;; bash
((function_call_expression
function: (_) @_shell_func_identifier
arguments: (arguments . (argument (_ (string_value) @bash))))
(#any-of? @_shell_func_identifier "shell_exec" "escapeshellarg"
"escapeshellcmd" "exec" "passthru" "proc_open" "shell_exec" "system"))
((expression_statement (shell_command_expression (string_value) @bash)))
|