From 42ea5392432253188c11c31af420a0b83bb111dc Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 16 Jun 2025 22:29:40 -0500 Subject: feat(php): update php and php_only parsers to v0.24.0 --- runtime/queries/php_only/highlights.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'runtime') diff --git a/runtime/queries/php_only/highlights.scm b/runtime/queries/php_only/highlights.scm index 2d473dd0c..8258e29ad 100644 --- a/runtime/queries/php_only/highlights.scm +++ b/runtime/queries/php_only/highlights.scm @@ -44,21 +44,16 @@ "protected" "public" "readonly" - (static_modifier) + "static" ] @keyword.modifier -(function_static_declaration - "static" @keyword.modifier) - [ "return" "exit" "yield" + "yield from" ] @keyword.return -(yield_expression - "from" @keyword.return) - [ "case" "else" @@ -107,7 +102,7 @@ [ (php_tag) - "?>" + (php_end_tag) "(" ")" "[" @@ -477,3 +472,9 @@ (comment) @comment @spell (named_label_statement) @label + +(property_hook + (name) @label) + +(visibility_modifier + (operation) @label) -- cgit v1.2.3-70-g09d2