diff --git a/extensions/php/languages/php/outline.scm b/extensions/php/languages/php/outline.scm index aff05692fb1df85daf2f64983fd43a9bc2eee00d..f837ce0d87bfbabc30f2268fad5c377c164d4237 100644 --- a/extensions/php/languages/php/outline.scm +++ b/extensions/php/languages/php/outline.scm @@ -35,7 +35,10 @@ arguments: (arguments . (argument - (encapsed_string (string_value) @name) + [ + (encapsed_string (string_value) @name) + (string (string_value) @name) + ] ) ) ) @item diff --git a/extensions/php/languages/php/runnables.scm b/extensions/php/languages/php/runnables.scm index cde3d956361f66a0b421195095f8db972f3febdb..157e0be5a059f2af9c520d25de901e844c6b1a62 100644 --- a/extensions/php/languages/php/runnables.scm +++ b/extensions/php/languages/php/runnables.scm @@ -94,7 +94,10 @@ arguments: (arguments . (argument - (encapsed_string (string_value) @run) + [ + (encapsed_string (string_value) @run) + (string (string_value) @run) + ] ) ) ) @pest-test