public function testFailed($testNumber, $filename, array $errors)
 {
     $this->output->writeln(Json::encode([$filename => $errors]));
 }
示例#2
0
 public function encode()
 {
     return Json::encode($this->toArray()) . "\n";
 }
示例#3
0
 public function toJson()
 {
     return Json::encode($this->toArray());
 }
 public function end()
 {
     $this->output->writeln(Json::encode($this->json));
 }