PhpGitHooks\Module\PhpLint\Tests\Infrastructure\PhpLintToolProcessorTrait::shouldProcessPhpLintTool PHP Метод

shouldProcessPhpLintTool() защищенный Метод

protected shouldProcessPhpLintTool ( string $file, string | null $error )
$file string
$error string | null
    protected function shouldProcessPhpLintTool($file, $error)
    {
        $this->getPhpLintToolProcessor()->shouldReceive('process')->once()->with($file)->andReturn($error);
    }