protected function getRunner(&$errors)
    {
        $output = $this->output;
        $runner = function ($err) use ($output, &$errors) {
            if (!empty($err)) {
                $output->writeln('<fg=red>FAILED</>');
                $errors = array_merge($errors, $err);
            } else {
                $output->writeln('<info>OK</info>');
            }
        };

        return $runner;
    }