You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a PHP8.1 codebase and there's a simple test that is failing when I use named arguments. I couldn't find anything in the docs about this particular issue. Is Mockery not compatible with named arguments?
I'm working on a PHP8.1 codebase and there's a simple test that is failing when I use named arguments. I couldn't find anything in the docs about this particular issue. Is Mockery not compatible with named arguments?
The test
The function
The spied class
$sc->test($param)
$sc->test(a: $param)
InvalidCountException ... should be called at least 1 times but callled 0 times
$sc->test($param)
ErrorException Undefined array key 0
$sc->test(a: $param)
ErrorException Undefined array key 0
The text was updated successfully, but these errors were encountered: