diff --git a/extensions/php/languages/php/outline.scm b/extensions/php/languages/php/outline.scm index aff05692fb..f837ce0d87 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 cde3d95636..157e0be5a0 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