Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistCoverWorkflow.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Covers your professional reputation by blaming changes to locate reviewers. | * Covers your professional reputation by blaming changes to locate reviewers. | ||||
| * | |||||
| * @group workflow | |||||
| */ | */ | ||||
| final class ArcanistCoverWorkflow extends ArcanistBaseWorkflow { | final class ArcanistCoverWorkflow extends ArcanistBaseWorkflow { | ||||
| public function getWorkflowName() { | public function getWorkflowName() { | ||||
| return 'cover'; | return 'cover'; | ||||
| } | } | ||||
| public function getCommandSynopses() { | public function getCommandSynopses() { | ||||
| ▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | public function requiresAuthentication() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function requiresRepositoryAPI() { | public function requiresRepositoryAPI() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function run() { | public function run() { | ||||
| $repository_api = $this->getRepositoryAPI(); | $repository_api = $this->getRepositoryAPI(); | ||||
| $in_paths = $this->getArgument('paths'); | $in_paths = $this->getArgument('paths'); | ||||
| $in_rev = $this->getArgument('rev'); | $in_rev = $this->getArgument('rev'); | ||||
| if ($in_rev) { | if ($in_rev) { | ||||
| $this->parseBaseCommitArgument(array($in_rev)); | $this->parseBaseCommitArgument(array($in_rev)); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines | |||||