Differential D19615 Diff 46892 src/applications/differential/controller/DifferentialRevisionViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/controller/DifferentialRevisionViewController.php
| Show First 20 Lines • Show All 1,309 Lines • ▼ Show 20 Lines | private function buildUnitMessagesView( | ||||
| } | } | ||||
| $excuse = null; | $excuse = null; | ||||
| if ($diff->hasDiffProperty('arc:unit-excuse')) { | if ($diff->hasDiffProperty('arc:unit-excuse')) { | ||||
| $excuse = $diff->getProperty('arc:unit-excuse'); | $excuse = $diff->getProperty('arc:unit-excuse'); | ||||
| } | } | ||||
| return id(new HarbormasterUnitSummaryView()) | return id(new HarbormasterUnitSummaryView()) | ||||
| ->setUser($viewer) | ->setViewer($viewer) | ||||
| ->setExcuse($excuse) | ->setExcuse($excuse) | ||||
| ->setBuildable($diff->getBuildable()) | ->setBuildable($diff->getBuildable()) | ||||
| ->setUnitMessages($diff->getUnitMessages()) | ->setUnitMessages($diff->getUnitMessages()) | ||||
| ->setLimit(5) | ->setLimit(5) | ||||
| ->setShowViewAll(true); | ->setShowViewAll(true); | ||||
| } | } | ||||
| private function getOldDiffID(DifferentialRevision $revision, array $diffs) { | private function getOldDiffID(DifferentialRevision $revision, array $diffs) { | ||||
| ▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines | |||||