File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 226226 :group 'php-faces
227227 :tag " PHP Class Modifiers" )
228228
229+ (defface php-modifiers-method '((t (:inherit php-keyword)))
230+ " Face used to highlight method modifiers (final, abstract)"
231+ :group 'php-faces
232+ :tag " PHP Method Modifiers" )
233+
229234(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag " 1.19.0" )
230235
231236(provide 'php-face )
Original file line number Diff line number Diff line change @@ -1554,6 +1554,9 @@ a completion list."
15541554
15551555 ; ; Class modifiers (abstract, final)
15561556 (" \\ (abstract\\ |final\\ )[[:space:]]\\ (?:class\\ )" (1 'php-modifiers-class ))
1557+
1558+ ; ; Method modifiers (abstract, final, static)
1559+ (" \\ (abstract\\ |final\\ )[[:space:]]\\ (?:static[[:space:]]\\ )?\\ (?:public\\ |private\\ |protected\\ )" (1 'php-modifiers-method ))
15571560
15581561 ; ; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but
15591562 ; ; not in $obj->var()
You can’t perform that action at this time.
0 commit comments