Skip to content

Commit 637a54f

Browse files
committed
fix LevelsIntegrationTest
1 parent 5f437c7 commit 637a54f

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
[
2+
{
3+
"message": "Class constant name for Levels\\ConstantAccesses83\\Foo must be a string, but int was given.",
4+
"line": 18,
5+
"ignorable": true
6+
},
27
{
38
"message": "Class constant name in dynamic fetch can only be a string, int given.",
49
"line": 18,
510
"ignorable": true
611
}
7-
]
12+
]

tests/PHPStan/Levels/data/constantAccesses83-7.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
[
2+
{
3+
"message": "Class constant name for Levels\\ConstantAccesses83\\Foo must be a string, but int|string was given.",
4+
"line": 19,
5+
"ignorable": true
6+
},
27
{
38
"message": "Class constant name in dynamic fetch can only be a string, int|string given.",
49
"line": 19,

tests/PHPStan/Levels/data/constantAccesses83-8.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
[
2+
{
3+
"message": "Class constant name for Levels\\ConstantAccesses83\\Foo must be a string, but string|null was given.",
4+
"line": 20,
5+
"ignorable": true
6+
},
27
{
38
"message": "Class constant name in dynamic fetch can only be a string, string|null given.",
49
"line": 20,

0 commit comments

Comments
 (0)