Skip to content

Commit db3ca4a

Browse files
committed
Fix class faces
1 parent 1e06364 commit db3ca4a

9 files changed

+12
-12
lines changed

Diff for: tests/7.4/typed-property.php.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;; -*- mode: emacs-lisp -*-
22
(("<?php" . php-php-tag)
33
("\n\n")
4-
("class" . php-keyword)
4+
("class" . php-class-declaration)
55
(" ")
66
("Typed" . font-lock-type-face)
77
("\n{\n ")

Diff for: tests/issue-136.php.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
("\n")
6565
("final" . php-keyword)
6666
(" ")
67-
("class" . php-keyword)
67+
("class" . php-class-declaration)
6868
(" ")
6969
("SampleClass" . font-lock-type-face)
7070
("\n{\n ")

Diff for: tests/lang/class/anonymous-class.php.faces

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
(" ")
99
("new" . php-keyword)
1010
(" ")
11-
("class" . php-keyword)
11+
("class" . php-class-declaration)
1212
(" () ")
1313
("extends" . php-keyword)
1414
(" ")
@@ -21,12 +21,12 @@
2121
("(1, ")
2222
("new" . php-keyword)
2323
(" ")
24-
("class" . php-keyword)
24+
("class" . php-class-declaration)
2525
(" () ")
2626
("extends" . php-keyword)
2727
(" ")
2828
("IteratorAggregate" . font-lock-type-face)
2929
(" {\n ")
3030
("// " . font-lock-comment-delimiter-face)
3131
("###php-mode-test### ((indent 4))\n" . font-lock-comment-face)
32-
("});\n"))
32+
("});\n"))

Diff for: tests/lang/doc-comment/annotation.php.faces

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
("@MyProject\\Annotations\\Foobarable" php-doc-annotation-tag font-lock-doc-face)
88
("\n */" . font-lock-doc-face)
99
("\n")
10-
("class" . php-keyword)
10+
("class" . php-class-declaration)
1111
(" ")
1212
("User" . font-lock-type-face)
1313
("\n{\n}\n\n")
@@ -20,7 +20,7 @@
2020
("myProperty" php-variable-name font-lock-doc-face)
2121
("\n */" . font-lock-doc-face)
2222
("\n")
23-
("class" . php-keyword)
23+
("class" . php-class-declaration)
2424
(" ")
2525
("Child" . font-lock-type-face)
2626
(" ")

Diff for: tests/lang/doc-comment/comments.php.24.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
("\n")
6565
("final" . php-keyword)
6666
(" ")
67-
("class" . php-keyword)
67+
("class" . php-class-declaration)
6868
(" ")
6969
("SampleClass" . font-lock-type-face)
7070
("\n{\n ")

Diff for: tests/lang/doc-comment/comments.php.27.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
("\n")
6666
("final" . php-keyword)
6767
(" ")
68-
("class" . php-keyword)
68+
("class" . php-class-declaration)
6969
(" ")
7070
("SampleClass" . font-lock-type-face)
7171
("\n{\n ")

Diff for: tests/lang/doc-comment/comments.php.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
("\n")
6565
("final" . php-keyword)
6666
(" ")
67-
("class" . php-keyword)
67+
("class" . php-class-declaration)
6868
(" ")
6969
("SampleClass" . font-lock-type-face)
7070
("\n{\n ")

Diff for: tests/lang/doc-comment/issue-8.php.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
("@ORM\\Table" php-doc-annotation-tag font-lock-doc-face)
1212
("(name=\"product\")\n */" . font-lock-doc-face)
1313
("\n")
14-
("class" . php-keyword)
14+
("class" . php-class-declaration)
1515
(" ")
1616
("Product" . font-lock-type-face)
1717
("\n{\n ")

Diff for: tests/type-hints.php.faces

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;; -*- mode: emacs-lisp -*-
22
(("<?php" . php-php-tag)
33
("\n\n")
4-
("class" . php-keyword)
4+
("class" . php-class-declaration)
55
(" ")
66
("SomeClass" . font-lock-type-face)
77
("\n{\n ")

0 commit comments

Comments
 (0)