From c70009d90f7fe39a531c9a8afe3a277b69cbac2f Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 7 Jan 2015 07:36:00 +1100 Subject: [PATCH] Fix visibility of various `ArcanistWorkflow` methods Summary: Ref T6822. Test Plan: Visual inspection. These methods are only called from within the `ArcanistShellCompleteWorkflow` class. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11238 --- src/workflow/ArcanistCallConduitWorkflow.php | 2 +- src/workflow/ArcanistGitHookPreReceiveWorkflow.php | 2 +- src/workflow/ArcanistInstallCertificateWorkflow.php | 2 +- src/workflow/ArcanistPatchWorkflow.php | 2 +- src/workflow/ArcanistShellCompleteWorkflow.php | 2 +- src/workflow/ArcanistSvnHookPreCommitWorkflow.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/workflow/ArcanistCallConduitWorkflow.php b/src/workflow/ArcanistCallConduitWorkflow.php index 2a5ea379..719674f9 100644 --- a/src/workflow/ArcanistCallConduitWorkflow.php +++ b/src/workflow/ArcanistCallConduitWorkflow.php @@ -40,7 +40,7 @@ EOTEXT ); } - public function shouldShellComplete() { + protected function shouldShellComplete() { return false; } diff --git a/src/workflow/ArcanistGitHookPreReceiveWorkflow.php b/src/workflow/ArcanistGitHookPreReceiveWorkflow.php index d1d4f78f..6e85ca16 100644 --- a/src/workflow/ArcanistGitHookPreReceiveWorkflow.php +++ b/src/workflow/ArcanistGitHookPreReceiveWorkflow.php @@ -37,7 +37,7 @@ EOTEXT return true; } - public function shouldShellComplete() { + protected function shouldShellComplete() { return false; } diff --git a/src/workflow/ArcanistInstallCertificateWorkflow.php b/src/workflow/ArcanistInstallCertificateWorkflow.php index 7a1da36c..ae68f4f2 100644 --- a/src/workflow/ArcanistInstallCertificateWorkflow.php +++ b/src/workflow/ArcanistInstallCertificateWorkflow.php @@ -35,7 +35,7 @@ EOTEXT ); } - public function shouldShellComplete() { + protected function shouldShellComplete() { return false; } diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php index 167704de..fb3d0e06 100644 --- a/src/workflow/ArcanistPatchWorkflow.php +++ b/src/workflow/ArcanistPatchWorkflow.php @@ -834,7 +834,7 @@ EOTEXT return $commit_message; } - public function getShellCompletions(array $argv) { + protected function getShellCompletions(array $argv) { // TODO: Pull open diffs from 'arc list'? return array('ARGUMENT'); } diff --git a/src/workflow/ArcanistShellCompleteWorkflow.php b/src/workflow/ArcanistShellCompleteWorkflow.php index aa735696..0cd9571e 100644 --- a/src/workflow/ArcanistShellCompleteWorkflow.php +++ b/src/workflow/ArcanistShellCompleteWorkflow.php @@ -36,7 +36,7 @@ EOTEXT ); } - public function shouldShellComplete() { + protected function shouldShellComplete() { return false; } diff --git a/src/workflow/ArcanistSvnHookPreCommitWorkflow.php b/src/workflow/ArcanistSvnHookPreCommitWorkflow.php index 41dabb18..30b8e310 100644 --- a/src/workflow/ArcanistSvnHookPreCommitWorkflow.php +++ b/src/workflow/ArcanistSvnHookPreCommitWorkflow.php @@ -32,7 +32,7 @@ EOTEXT ); } - public function shouldShellComplete() { + protected function shouldShellComplete() { return false; }