The offending code looks like this:
$gitlab = $this->mock(GitLabManager::class);
$gitlab
->expects('repositories')
->never();
Reformatting does not change the error:
$gitlab = $this->mock(GitLabManager::class);
$gitlab->expects('repositories')->never();
My dependencies are the following:
"mockery/mockery": "^1.3.1",
"phpstan/phpstan-mockery": "^0.12.3",
"nunomaduro/larastan": "^0.5.0",
Am i doing something wrong?