public function merge(score $score) { $this->passNumber += $score->getPassNumber(); $this->failAssertions = array_merge($this->failAssertions, $score->getFailAssertions()); $this->exceptions = array_merge($this->exceptions, $score->getExceptions()); $this->runtimeExceptions = array_merge($this->runtimeExceptions, $score->getRuntimeExceptions()); $this->errors = array_merge($this->errors, $score->getErrors()); $this->outputs = array_merge($this->outputs, $score->getOutputs()); $this->durations = array_merge($this->durations, $score->getDurations()); $this->memoryUsages = array_merge($this->memoryUsages, $score->getMemoryUsages()); $this->voidMethods = array_merge($this->voidMethods, $score->getVoidMethods()); $this->uncompletedMethods = array_merge($this->uncompletedMethods, $score->getUncompletedMethods()); $this->skippedMethods = array_merge($this->skippedMethods, $score->getSkippedMethods()); $this->coverage->merge($score->getCoverage()); return $this; }