diff --git a/lockfile.json b/lockfile.json index 646e11808..f4644305b 100644 --- a/lockfile.json +++ b/lockfile.json @@ -498,10 +498,10 @@ "revision": "96a17c4c2dd345dc61f330d040684538d634bbc2" }, "php": { - "revision": "29838ad107f50b1f5f51a0beefa9c9d834fce2b3" + "revision": "58054be104db0809ea6f119514a4d904f95e5b5c" }, "php_only": { - "revision": "29838ad107f50b1f5f51a0beefa9c9d834fce2b3" + "revision": "58054be104db0809ea6f119514a4d904f95e5b5c" }, "phpdoc": { "revision": "f285e338d328a03920a9bfd8dda78585c7ddcca3" diff --git a/queries/php_only/injections.scm b/queries/php_only/injections.scm index b13449b9f..368177643 100644 --- a/queries/php_only/injections.scm +++ b/queries/php_only/injections.scm @@ -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"))