Differential D9986 Diff 24115 src/applications/differential/customfield/DifferentialReviewersField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialReviewersField.php
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | return array( | ||||
'Reviewers', | 'Reviewers', | ||||
); | ); | ||||
} | } | ||||
public function parseValueFromCommitMessage($value) { | public function parseValueFromCommitMessage($value) { | ||||
return $this->parseObjectList( | return $this->parseObjectList( | ||||
$value, | $value, | ||||
array( | array( | ||||
PhabricatorPeoplePHIDTypeUser::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
PhabricatorProjectPHIDTypeProject::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
)); | )); | ||||
} | } | ||||
public function getRequiredHandlePHIDsForCommitMessage() { | public function getRequiredHandlePHIDsForCommitMessage() { | ||||
return mpull($this->getValue(), 'getReviewerPHID'); | return mpull($this->getValue(), 'getReviewerPHID'); | ||||
} | } | ||||
public function readValueFromCommitMessage($value) { | public function readValueFromCommitMessage($value) { | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |