Skip to content

Commit fba5607

Browse files
committed
Fixed tests
1 parent aa75de0 commit fba5607

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: tests/PHPStan/Levels/data/encapsedString-2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
22
{
3-
"message": "Part $array (array) of encapsed string cannot be cast to string.",
3+
"message": "Part $array (array<mixed>) of encapsed string cannot be cast to string.",
44
"line": 21,
55
"ignorable": true
66
},
77
{
8-
"message": "Part $arrayOrCallable (array|(callable(): mixed)) of encapsed string cannot be cast to string.",
8+
"message": "Part $arrayOrCallable (array<mixed>|(callable(): mixed)) of encapsed string cannot be cast to string.",
99
"line": 22,
1010
"ignorable": true
1111
}

Diff for: tests/PHPStan/Levels/data/encapsedString-7.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
22
{
3-
"message": "Part $arrayOrFloatOrInt (array|float|int) of encapsed string cannot be cast to string.",
3+
"message": "Part $arrayOrFloatOrInt (array<mixed>|float|int) of encapsed string cannot be cast to string.",
44
"line": 23,
55
"ignorable": true
66
},
77
{
8-
"message": "Part $arrayOrString (array|string) of encapsed string cannot be cast to string.",
8+
"message": "Part $arrayOrString (array<mixed>|string) of encapsed string cannot be cast to string.",
99
"line": 24,
1010
"ignorable": true
1111
}

Diff for: tests/PHPStan/Levels/data/print_-7.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
22
{
3-
"message": "Parameter array|float|int of print cannot be converted to string.",
3+
"message": "Parameter array<mixed>|float|int of print cannot be converted to string.",
44
"line": 23,
55
"ignorable": true
66
},
77
{
8-
"message": "Parameter array|string of print cannot be converted to string.",
8+
"message": "Parameter array<mixed>|string of print cannot be converted to string.",
99
"line": 24,
1010
"ignorable": true
1111
}

0 commit comments

Comments
 (0)