It seems like $this->getGitIgnoreFileReader() targeting PhpGitHooks\Module\Git\T...etGitIgnoreFileReader() can also be of type object<Mockery\MockInterface>; however, PhpGitHooks\Module\Git\S...xtractor::__construct() does only seem to accept object<PhpGitHooks\Modul...\Model\ReaderInterface>, maybe add an additional type check?
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.
Loading history...
22
);
23
}
24
25
/**
26
* @test
27
*/
28
public function itShouldReturnNotNull()
29
{
30
$content = 'composer.phar
31
vendor/
32
bin/
33
php-git-hooks.yml
34
# Commit your application\'s lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
35
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.