getReviewerStatus() as $reviewer) { switch ($reviewer->getStatus()) { case DifferentialReviewerStatus::STATUS_ACCEPTED: case DifferentialReviewerStatus::STATUS_ACCEPTED_OLDER: $phids[] = $reviewer->getReviewerPHID(); break; } } return $phids; } public function shouldAppearInCommitMessage() { return true; } public function parseValueFromCommitMessage($value) { return $this->parseObjectList( $value, array( PhabricatorPeoplePHIDTypeUser::TYPECONST, PhabricatorProjectPHIDTypeProject::TYPECONST, ), $allow_partial = true); } public function getRequiredHandlePHIDsForCommitMessage() { return $this->getValue(); } public function renderCommitMessageValue(array $handles) { return $this->renderObjectList($handles); } }