Esempio n. 1
0
 public function merge(score $score)
 {
     $this->passNumber += $score->getPassNumber();
     $this->failAssertions = array_merge($this->failAssertions, $score->failAssertions);
     $this->exceptions = array_merge($this->exceptions, $score->exceptions);
     $this->runtimeExceptions = array_merge($this->runtimeExceptions, $score->runtimeExceptions);
     $this->errors = array_merge($this->errors, $score->errors);
     $this->outputs = array_merge($this->outputs, $score->outputs);
     $this->durations = array_merge($this->durations, $score->durations);
     $this->memoryUsages = array_merge($this->memoryUsages, $score->memoryUsages);
     $this->voidMethods = array_merge($this->voidMethods, $score->voidMethods);
     $this->uncompletedMethods = array_merge($this->uncompletedMethods, $score->uncompletedMethods);
     $this->skippedMethods = array_merge($this->skippedMethods, $score->skippedMethods);
     $this->coverage->merge($score->coverage);
     return $this;
 }