File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 216
216
:group 'php-faces
217
217
:tag " PHP Namespace Declaration" )
218
218
219
-
220
219
(defface php-import-declaration '((t (:inherit php-keyword)))
221
220
" Face used to highlight import statements (use ... as ...)"
222
221
:group 'php-faces
223
222
:tag " PHP Import Statement" )
224
223
224
+ (defface php-modifiers-class '((t (:inherit php-keyword)))
225
+ " Face used to highlight class modifiers (final, abstract)"
226
+ :group 'php-faces
227
+ :tag " PHP Class Modifiers" )
228
+
225
229
(define-obsolete-face-alias 'php-annotations-annotation-face 'php-doc-annotation-tag " 1.19.0" )
226
230
227
231
(provide 'php-face )
Original file line number Diff line number Diff line change @@ -1551,6 +1551,9 @@ a completion list."
1551
1551
; ; import statement (use ... as ...)
1552
1552
(" \\ (use[[:space:]]\\ )\\ (?:[[:word:]\\ ]\\ )" (1 'php-import-declaration ))
1553
1553
(" \\ (?:[[:word:]\\ ]\\ )\\ ([[:space:]]as\\ )" (1 'php-import-declaration ))
1554
+
1555
+ ; ; Class modifiers (abstract, final)
1556
+ (" \\ (abstract\\ |final\\ )[[:space:]]\\ (?:class\\ )" (1 'php-modifiers-class ))
1554
1557
1555
1558
; ; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but
1556
1559
; ; not in $obj->var()
You can’t perform that action at this time.
0 commit comments