예제 #1
0
파일: Runner.php 프로젝트: djfm/ftr
 public function printException(array $exception, $padding = '                       ')
 {
     $text = ExceptionHelper::toString($exception, $padding);
     $this->writeln('<fg=red>' . $text . '</fg=red>');
     $this->writeln("");
     return $this;
 }
예제 #2
0
파일: Reporter.php 프로젝트: djfm/ftr
 public function exception(Exception $exception)
 {
     $this->client->send(['type' => 'exception', 'planToken' => $this->planToken, 'exception' => ExceptionHelper::toArray($exception)]);
 }
예제 #3
0
파일: TestResult.php 프로젝트: djfm/ftr
 public function addException(Exception $exception)
 {
     $this->exceptions[] = ExceptionHelper::toArray($exception);
     return $this;
 }