File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1494,9 +1494,6 @@ a completion list."
1494
1494
; ; only add patterns here if you want to prevent cc-mode from applying
1495
1495
; ; a different face.
1496
1496
`(
1497
- ; ; Class declaration keywords (class, trait, interface)
1498
- (" class\\ |trait\\ |interface" . 'php-class-declaration )
1499
-
1500
1497
; ; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but
1501
1498
; ; not in $obj->var()
1502
1499
(" \\ (->\\ )\\ (\\ sw+\\ )\\ s-*(" (1 'php-object-op ) (2 'php-method-call ))
@@ -1536,6 +1533,8 @@ a completion list."
1536
1533
1 'php-class )
1537
1534
; ; Support the ::class constant in PHP5.6
1538
1535
(" \\ sw+\\ (::\\ )\\ (class\\ )\\ b" (1 'php-paamayim-nekudotayim ) (2 'php-magical-constant ))
1536
+ ; ; Class declaration keywords (class, trait, interface)
1537
+ (" \\ _<\\ (class\\ |trait\\ |interface\\ )\\ _>" . 'php-class-declaration )
1539
1538
1540
1539
; ; Highlight static method calls as such. This is necessary for method
1541
1540
; ; names which are identical to keywords to be highlighted correctly.
You can’t perform that action at this time.
0 commit comments