diff --git a/extensions/php/languages/php/outline.scm b/extensions/php/languages/php/outline.scm index aff05692fb1df..f837ce0d87bfb 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 cde3d956361f6..157e0be5a059f 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