diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php index 28edf0f0..f14fa79f 100644 --- a/src/workflow/ArcanistLandWorkflow.php +++ b/src/workflow/ArcanistLandWorkflow.php @@ -1465,7 +1465,7 @@ EOTEXT $console->writeOut($message."\n\n"); - $builds = msort($builds, 'getStatusSortVector'); + $builds = msortv($builds, 'getStatusSortVector'); foreach ($builds as $build) { $ansi_color = $build->getStatusANSIColor(); $status_name = $build->getStatusName(); @@ -1557,7 +1557,7 @@ EOTEXT $ongoing_builds = array(); $failed_builds = array(); - $builds = msort($builds, 'getStatusSortVector'); + $builds = msortv($builds, 'getStatusSortVector'); foreach ($builds as $build_ref) { $plan = idx($plans, $build_ref->getBuildPlanPHID()); if (!$plan) { diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php index c3fd8296..b7938b3c 100644 --- a/src/workflow/ArcanistPatchWorkflow.php +++ b/src/workflow/ArcanistPatchWorkflow.php @@ -939,7 +939,7 @@ EOTEXT 'is not guaranteed to work. Continue anyway?'); $okay = phutil_console_confirm($issue, true); } else { - $phids = $graph->getTopographicallySortedNodes(); + $phids = $graph->getNodesInTopologicalOrder(); $phids = array_reverse($phids); $okay = true; }