1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +01:00

Require defining getWorkflowName()

Test Plan:
  $ arc help

Reviewers: epriestley, edward

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3742
This commit is contained in:
vrana 2012-10-19 11:02:46 -07:00
parent 522c35c1ed
commit 475a576fdc
2 changed files with 1 additions and 9 deletions

View file

@ -58,13 +58,6 @@ class ArcanistConfiguration {
foreach ($symbols as $symbol) {
$class = $symbol['name'];
$workflow = newv($class, array());
// TODO: Delete after installations will update (2012-10-31).
if (!method_exists($workflow, 'getWorkflowName')) {
// This workflow was hopefully already built by our parent.
continue;
}
$name = $workflow->getWorkflowName();
if (isset($workflows[$name])) {

View file

@ -89,8 +89,7 @@ abstract class ArcanistBaseWorkflow {
*
* @return string The command a user types to invoke this workflow.
*/
// TODO: Uncomment after installations will update (2012-10-31).
// abstract public function getWorkflowName();
abstract public function getWorkflowName();
/**
* Return console formatted string with all command synopses.