Skip to content

Commit ccd28de

Browse files
committed
Fix tests
1 parent 0ed7faa commit ccd28de

16 files changed

+52
-52
lines changed

tests/7.4/typed-property.php.faces

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
(" ")
4949
("print" . php-function-name)
5050
("()\n {\n ")
51-
("var_dump" . php-function-call)
51+
("var_dump" . php-function-call-traditional)
5252
("(")
5353
("$" . php-this-sigil)
5454
("this" . php-this)
@@ -60,5 +60,5 @@
6060
("Typed" . font-lock-type-face)
6161
(")")
6262
("->" . php-object-op)
63-
("print" . php-method-call)
63+
("print" . php-method-call-traditional)
6464
("();\n"))

tests/8.0/attribute/class.php.faces

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
2525
#[WithoutArgument]
2626
#[")
27-
("SingleArgument" . php-function-call)
27+
("SingleArgument" . php-function-call-traditional)
2828
("(0)]
2929
#[")
30-
("FewArguments" . php-function-call)
30+
("FewArguments" . php-function-call-traditional)
3131
("(")
3232
("'Hello'" . php-string)
3333
(", ")
@@ -40,9 +40,9 @@
4040
("() {}
4141
4242
#[WithoutArgument] #[")
43-
("SingleArgument" . php-function-call)
43+
("SingleArgument" . php-function-call-traditional)
4444
("(0)] #[")
45-
("FewArguments" . php-function-call)
45+
("FewArguments" . php-function-call-traditional)
4646
("(")
4747
("'Hello'" . php-string)
4848
(", ")
@@ -55,11 +55,11 @@
5555
("() {}
5656
5757
#[")
58-
("Attr2" . php-function-call)
58+
("Attr2" . php-function-call-traditional)
5959
("(")
6060
("\"foo\"" . php-string)
6161
("), ")
62-
("Attr2" . php-function-call)
62+
("Attr2" . php-function-call-traditional)
6363
("(")
6464
("\"bar\"" . php-string)
6565
(")]

tests/8.0/attribute/function.php.faces

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
1212
#[WithoutArgument]
1313
#[")
14-
("SingleArgument" . php-function-call)
14+
("SingleArgument" . php-function-call-traditional)
1515
("(0)]
1616
#[")
17-
("FewArguments" . php-function-call)
17+
("FewArguments" . php-function-call-traditional)
1818
("(")
1919
("'Hello'" . php-string)
2020
(", ")
@@ -27,9 +27,9 @@
2727
("() {}
2828
2929
#[WithoutArgument]#[")
30-
("SingleArgument" . php-function-call)
30+
("SingleArgument" . php-function-call-traditional)
3131
("(0)]#[")
32-
("FewArguments" . php-function-call)
32+
("FewArguments" . php-function-call-traditional)
3333
("(")
3434
("'Hello'" . php-string)
3535
(", ")

tests/constants.php.faces

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
(";\n")
4747
("SomeClass" . php-constant)
4848
("::" . php-paamayim-nekudotayim)
49-
("classIdentifier" . php-static-method-call)
49+
("classIdentifier" . php-static-method-call-traditional)
5050
("();\n\n")
5151
("__halt_compiler" . php-keyword)
5252
("();\n\n")

tests/identifiers.php.faces

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
("the constant face. Just like c++-mode \"NS::Class::method()\"\n" . font-lock-comment-face)
4444
("ClassName" . php-constant)
4545
("::" . php-paamayim-nekudotayim)
46-
("method" . php-static-method-call)
46+
("method" . php-static-method-call-traditional)
4747
("();\n")
4848
("\\SpaceName\\ClassName" . php-constant)
4949
("::" . php-paamayim-nekudotayim)
50-
("method" . php-static-method-call)
50+
("method" . php-static-method-call-traditional)
5151
("();\n")
5252
("\\My_Class" . php-constant)
5353
("::" . php-paamayim-nekudotayim)
54-
("method" . php-static-method-call)
54+
("method" . php-static-method-call-traditional)
5555
("();\n\n")
5656
("__halt_compiler" . php-keyword)
5757
("();\n\n")

tests/issue-197.php.faces

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
("$" . php-variable-sigil)
2222
("test" . php-variable-name)
2323
("->" . php-object-op)
24-
("int" . php-method-call)
24+
("int" . php-method-call-traditional)
2525
("();\n")
2626
("$" . php-variable-sigil)
2727
("test" . php-variable-name)
2828
("->" . php-object-op)
29-
("string" . php-method-call)
29+
("string" . php-method-call-traditional)
3030
("();\n"))

tests/issue-201.php.faces

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
(";\n")
1717
("self" . php-keyword)
1818
("::" . php-paamayim-nekudotayim)
19-
("test" . php-static-method-call)
19+
("test" . php-static-method-call-traditional)
2020
("();\n")
2121
("static" . php-keyword)
2222
("::" . php-paamayim-nekudotayim)
23-
("test" . php-static-method-call)
23+
("test" . php-static-method-call-traditional)
2424
("();\n")
2525
("parent" . php-keyword)
2626
("::" . php-paamayim-nekudotayim)
27-
("test" . php-static-method-call)
27+
("test" . php-static-method-call-traditional)
2828
("();\n"))

tests/issue-439.php.faces

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
(" ")
5353
("<<<\"いろは\"\nLet'go Justin\nいろは" . php-string)
5454
(";\n\n")
55-
("var_dump" . php-function-call)
55+
("var_dump" . php-function-call-traditional)
5656
("(")
5757
("<<<\"ABC\"\nLet'go Justin\nABC" . php-string)
5858
(");\n\n")
5959
("if" . php-keyword)
6060
(" (1 ")
6161
("===" . php-comparison-op)
6262
(" 1) {\n ")
63-
("var_dump" . php-function-call)
63+
("var_dump" . php-function-call-traditional)
6464
("(")
6565
("<<<\"ABC\"\n Let'go Justin\n ABC" . php-string)
6666
(");\n}\n"))

tests/lang/class/anonymous-class.php.faces

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
("// " . font-lock-comment-delimiter-face)
1818
("###php-mode-test### ((indent 4))\n" . font-lock-comment-face)
1919
("};\n\n")
20-
("is_object" . php-function-call)
20+
("is_object" . php-function-call-traditional)
2121
("(1, ")
2222
("new" . php-keyword)
2323
(" ")

tests/lang/doc-comment/comments.php.24.faces

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
(" ")
135135
("=" . php-assignment-op)
136136
(" ")
137-
("hoge" . php-function-call)
137+
("hoge" . php-function-call-traditional)
138138
("();\n\n ")
139139
("// " . font-lock-comment-delimiter-face)
140140
("one-line comment\n" . font-lock-comment-face)

0 commit comments

Comments
 (0)