@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixing D5371

Summary:
Fixes T2765

Wrong brace placement D:

Test Plan: `/api/differential.getcommitmessage` with some set field

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2765

Differential Revision: https://secure.phabricator.com/D5376

authored by

Anh Nhan Nguyen and committed by
epriestley
038869c0 b8c04419

+3 -3
+1 -1
src/applications/differential/field/specification/DifferentialCCsFieldSpecification.php
··· 73 73 } 74 74 75 75 public function setValueFromParsedCommitMessage($value) { 76 - $this->ccs = array_unique(nonempty($value), array()); 76 + $this->ccs = array_unique(nonempty($value, array())); 77 77 return $this; 78 78 } 79 79
+1 -1
src/applications/differential/field/specification/DifferentialManiphestTasksFieldSpecification.php
··· 92 92 } 93 93 94 94 public function setValueFromParsedCommitMessage($value) { 95 - $this->maniphestTasks = array_unique(nonempty($value), array()); 95 + $this->maniphestTasks = array_unique(nonempty($value, array())); 96 96 return $this; 97 97 } 98 98
+1 -1
src/applications/differential/field/specification/DifferentialReviewersFieldSpecification.php
··· 91 91 } 92 92 93 93 public function setValueFromParsedCommitMessage($value) { 94 - $this->reviewers = array_unique(nonempty($value), array()); 94 + $this->reviewers = array_unique(nonempty($value, array())); 95 95 return $this; 96 96 } 97 97