public function diff_cleanupSemantic(&$diffs) { $this->diff->setChanges($diffs); $this->diff->cleanupSemantic(); $diffs = $this->diff->getChanges(); }