1parameters: 2 ignoreErrors: 3 - '#Mockery\\MockInterface::shouldReceive\(\)#' 4 - '#Mockery\\MockInterface given#' 5 6 # because of \Elasticsearch\Tests\RegisteredNamespaceTest 7 - '#Call to an undefined method Elasticsearch\\Client::foo\(\)#' 8 - '#Call to an undefined method Elasticsearch\\Client::bar\(\)#' 9 10 # because of \Elasticsearch\Tests\ClientBuilderTest 11 - '#expects Psr\\Log\\LoggerInterface, Elasticsearch\\Tests\\ClientBuilder\\DummyLogger given.$#' 12 13 # probably PHPStan issue, because it actually works https://3v4l.org/s3U2B 14 - '#Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported#' 15