From d0d2cf903cf90c128399604bf2568682cc189f13 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 19 May 2015 00:08:10 +1000 Subject: [PATCH] Change parameters for `diffusion.getlintmessages` call Summary: Ref T7604. Change the parameter for `diffusion.getlintmessages` from `arcanistProject` to `repositoryPHID`. Test Plan: Ran `arc --conduit-uri='http://phabricator.local lint --only-new=1` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D12900 --- src/workflow/ArcanistLintWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php index a824a080..23dc352a 100644 --- a/src/workflow/ArcanistLintWorkflow.php +++ b/src/workflow/ArcanistLintWorkflow.php @@ -319,7 +319,7 @@ EOTEXT } $lint_future = $conduit->callMethod('diffusion.getlintmessages', array( - 'arcanistProject' => $this->getWorkingCopy()->getProjectID(), + 'repositoryPHID' => idx($this->loadProjectRepository(), 'phid'), 'branch' => '', // TODO: Tracking branch. 'commit' => $api->getBaseCommit(), 'files' => array_keys($all_paths),