Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/php/injections.scm')
-rw-r--r--runtime/queries/php/injections.scm22
1 files changed, 0 insertions, 22 deletions
diff --git a/runtime/queries/php/injections.scm b/runtime/queries/php/injections.scm
index 8d1b9740..16d5736b 100644
--- a/runtime/queries/php/injections.scm
+++ b/runtime/queries/php/injections.scm
@@ -1,25 +1,3 @@
((text) @injection.content
(#set! injection.language "html")
(#set! injection.combined))
-
-((comment) @injection.content
- (#set! injection.language "comment"))
-
-((function_call_expression
- function: (name) @_function
- arguments: (arguments . (argument (_ (string_value) @injection.content))))
- (#match? @_function "^preg_")
- (#set! injection.language "regex"))
-
-((function_call_expression
- function: (name) @_function
- arguments: (arguments (_) (argument (_ (string_value) @injection.content))))
- (#match? @_function "^mysqli_")
- (#set! injection.language "sql"))
-
-((member_call_expression
- object: (_)
- name: (name) @_function
- arguments: (arguments . (argument (_ (string_value) @injection.content))))
- (#match? @_function "^(prepare|query)$")
- (#set! injection.language "sql"))