diff --git a/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php b/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php index b3fe923f93..b2a9a4c943 100644 --- a/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php +++ b/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php @@ -116,6 +116,17 @@ final class DifferentialLintFieldSpecification 'show' => $show, ); + if (isset($message['locations'])) { + $locations = array(); + foreach ($message['locations'] as $location) { + $other_line = idx($location, 'line'); + $locations[] = + idx($location, 'path', $path). + ($other_line ? ":{$other_line}" : ""); + } + $description .= "\nOther locations: ".implode(", ", $locations); + } + if (strlen($description)) { $rows[] = array( 'style' => 'details',