-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored levels that report named arguments errors
- Loading branch information
1 parent
e0a7c7e
commit 1e42295
Showing
4 changed files
with
178 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,42 @@ | ||
[ | ||
{ | ||
"message": "Missing parameter $j (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 19, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Missing parameter $k (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 19, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by a positional argument.", | ||
"line": 21, | ||
"ignorable": false | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by a positional argument.", | ||
"line": 22, | ||
"ignorable": false | ||
}, | ||
{ | ||
"message": "Missing parameter $k (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 24, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by an unpacked (...) argument.", | ||
"line": 38, | ||
"ignorable": false | ||
}, | ||
{ | ||
"message": "Missing parameter $j (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 40, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by a positional argument.", | ||
"line": 40, | ||
"ignorable": false | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,42 @@ | ||
[ | ||
{ | ||
"message": "Missing parameter $j (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 45, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Missing parameter $k (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 45, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by a positional argument.", | ||
"line": 47, | ||
"ignorable": false | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by a positional argument.", | ||
"line": 48, | ||
"ignorable": false | ||
}, | ||
{ | ||
"message": "Missing parameter $k (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 50, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by an unpacked (...) argument.", | ||
"line": 64, | ||
"ignorable": false | ||
}, | ||
{ | ||
"message": "Missing parameter $j (int) in call to method NamedArgumentsIntegrationTest\\Foo::doFoo().", | ||
"line": 66, | ||
"ignorable": true | ||
}, | ||
{ | ||
"message": "Named argument cannot be followed by a positional argument.", | ||
"line": 66, | ||
"ignorable": false | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters