code: 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;
      }
docs: Returns the runner.
  
  @param array $errors
  
  @return callable