/** * For debug and logging purposes * @return array */ public function toArray() { return ['file' => $this->getMutationFileRelativePath(), 'mutator' => $this->mutation->getMutator(), 'class' => $this->mutation->getClass(), 'method' => $this->mutation->getMethod(), 'line' => $this->mutation->getLine(), 'diff' => $this->getDiff(), 'tests' => $this->testMethods]; }