Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 27, 2023
1 parent fd910dd commit c0ff269
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
17 changes: 11 additions & 6 deletions tests/PHPStan/Levels/data/acceptTypes-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@
"line": 118,
"ignorable": true
},
{
"message": "Parameter #1 $i of method Levels\\AcceptTypes\\Foo::doBarArray() expects array<int>, array<int, int|null> given.",
"line": 119,
"ignorable": true
},
{
"message": "Parameter #1 $i of method Levels\\AcceptTypes\\Foo::doBarArray() expects array<int>, array<int, float|int> given.",
"line": 120,
"ignorable": true
},
{
"message": "Parameter #1 $callable of method Levels\\AcceptTypes\\Foo::expectCallable() expects callable(): mixed, 'nonexistentFunction' given.",
"line": 144,
Expand Down Expand Up @@ -179,14 +189,9 @@
"line": 733,
"ignorable": true
},
{
"message": "Parameter #1 $nonEmpty of method Levels\\AcceptTypes\\AcceptNonEmpty::doBar() expects non-empty-array, array given.",
"line": 735,
"ignorable": true
},
{
"message": "Parameter #2 $array of function implode expects array|null, int given.",
"line": 763,
"ignorable": true
}
]
]
22 changes: 11 additions & 11 deletions tests/PHPStan/Levels/data/acceptTypes-7.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
"line": 92,
"ignorable": true
},
{
"message": "Parameter #1 $i of method Levels\\AcceptTypes\\Foo::doBarArray() expects array<int>, array<int, float|int> given.",
"line": 120,
"ignorable": true
},
{
"message": "Parameter #1 $i of method Levels\\AcceptTypes\\Foo::doBarArray() expects array<int>, array<int, float|int> given.",
"line": 132,
Expand Down Expand Up @@ -154,14 +149,19 @@
"line": 692,
"ignorable": true
},
{
"message": "Parameter #1 $numericString of method Levels\\AcceptTypes\\NumericStrings::doBar() expects numeric-string, string given.",
"line": 708,
"ignorable": true
},
{
"message": "Parameter #1 $numericString of method Levels\\AcceptTypes\\NumericStrings::doBar() expects numeric-string, string given.",
"line": 708,
"ignorable": true
},
{
"message": "Parameter #1 $nonEmpty of method Levels\\AcceptTypes\\AcceptNonEmpty::doBar() expects non-empty-array, array given.",
"line": 735,
"ignorable": true
},
{
"message": "Parameter #2 $array of function implode expects array|null, array|int|string given.",
"line": 756,
"ignorable": true
}
]
]
5 changes: 0 additions & 5 deletions tests/PHPStan/Levels/data/acceptTypes-8.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
"line": 91,
"ignorable": true
},
{
"message": "Parameter #1 $i of method Levels\\AcceptTypes\\Foo::doBarArray() expects array<int>, array<int, int|null> given.",
"line": 119,
"ignorable": true
},
{
"message": "Parameter #1 $i of method Levels\\AcceptTypes\\Foo::doBarArray() expects array<int>, array<int, int|null> given.",
"line": 131,
Expand Down

0 comments on commit c0ff269

Please sign in to comment.