@@ -51,14 +51,9 @@ scopes:
5151 ' string' : ' string.quoted'
5252 ' float' : ' constant.numeric'
5353
54- ' function_call_expression > qualified_name' : ' entity.name.function'
55- ' scoped_call_expression > name' : ' entity.name.function'
56-
57- ' variable_name' : ' variable'
5854 ' member_access_expression > name' : ' variable.other.object.property'
5955
6056 ' program' : ' source.php'
61- ' ERROR' : ' syntax-error'
6257
6358 ' class_declaration > name' : ' entity.name.type.class'
6459 ' class_base_clause > qualified_name > name' : ' entity.other.inherited-class'
@@ -68,6 +63,9 @@ scopes:
6863
6964 ' function_definition > name' : ' entity.name.function'
7065 ' function_call_expression > name' : ' entity.name.function'
66+ ' function_call_expression > qualified_name' : ' entity.name.function'
67+ ' scoped_call_expression > name' : ' entity.name.function'
68+ ' member_call_expression > name' : ' entity.name.function'
7169 ' "require_once", "require", "include_once", "include"' : ' entity.name.function'
7270
7371 ' method_declaration > name' : ' entity.name.function'
@@ -77,6 +75,8 @@ scopes:
7775 ' object_creation_expression > qualified_name > name' : ' meta.class.instance.constructor'
7876 ' object_creation_expression > new_variable > simple_variable' : ' meta.class.instance.constructor'
7977
78+ ' const_element > name' : ' constant'
79+ ' class_constant_access_expression >name' : ' constant'
8080 ' integer' : ' constant.numeric.decimal'
8181 ' float' : ' constant.numeric.decimal'
8282 ' string' : ' string.quoted.single'
0 commit comments