From d37c7013e5900e60792cb1bd06b417f8d21a15c2 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Sat, 3 Jan 2015 10:25:25 +1100 Subject: [PATCH] Rename `DoorkeeperFeedWorker` subclasses for consistency Summary: Ref T5655. Test Plan: `arc lint` and `arc unit` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T5655 Differential Revision: https://secure.phabricator.com/D11148 --- src/__phutil_library_map__.php | 8 ++++---- ...rFeedWorkerAsana.php => DoorkeeperAsanaFeedWorker.php} | 2 +- ...perFeedWorkerJIRA.php => DoorkeeperJIRAFeedWorker.php} | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename src/applications/doorkeeper/worker/{DoorkeeperFeedWorkerAsana.php => DoorkeeperAsanaFeedWorker.php} (99%) rename src/applications/doorkeeper/worker/{DoorkeeperFeedWorkerJIRA.php => DoorkeeperJIRAFeedWorker.php} (98%) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index e158872d1e..ad056efd30 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -646,6 +646,7 @@ phutil_register_library_map(array( 'DivinerStaticPublisher' => 'applications/diviner/publisher/DivinerStaticPublisher.php', 'DivinerSymbolRemarkupRule' => 'applications/diviner/markup/DivinerSymbolRemarkupRule.php', 'DivinerWorkflow' => 'applications/diviner/workflow/DivinerWorkflow.php', + 'DoorkeeperAsanaFeedWorker' => 'applications/doorkeeper/worker/DoorkeeperAsanaFeedWorker.php', 'DoorkeeperBridge' => 'applications/doorkeeper/bridge/DoorkeeperBridge.php', 'DoorkeeperBridgeAsana' => 'applications/doorkeeper/bridge/DoorkeeperBridgeAsana.php', 'DoorkeeperBridgeJIRA' => 'applications/doorkeeper/bridge/DoorkeeperBridgeJIRA.php', @@ -655,9 +656,8 @@ phutil_register_library_map(array( 'DoorkeeperExternalObjectQuery' => 'applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php', 'DoorkeeperFeedStoryPublisher' => 'applications/doorkeeper/engine/DoorkeeperFeedStoryPublisher.php', 'DoorkeeperFeedWorker' => 'applications/doorkeeper/worker/DoorkeeperFeedWorker.php', - 'DoorkeeperFeedWorkerAsana' => 'applications/doorkeeper/worker/DoorkeeperFeedWorkerAsana.php', - 'DoorkeeperFeedWorkerJIRA' => 'applications/doorkeeper/worker/DoorkeeperFeedWorkerJIRA.php', 'DoorkeeperImportEngine' => 'applications/doorkeeper/engine/DoorkeeperImportEngine.php', + 'DoorkeeperJIRAFeedWorker' => 'applications/doorkeeper/worker/DoorkeeperJIRAFeedWorker.php', 'DoorkeeperMissingLinkException' => 'applications/doorkeeper/exception/DoorkeeperMissingLinkException.php', 'DoorkeeperObjectRef' => 'applications/doorkeeper/engine/DoorkeeperObjectRef.php', 'DoorkeeperRemarkupRule' => 'applications/doorkeeper/remarkup/DoorkeeperRemarkupRule.php', @@ -3687,6 +3687,7 @@ phutil_register_library_map(array( 'DivinerStaticPublisher' => 'DivinerPublisher', 'DivinerSymbolRemarkupRule' => 'PhutilRemarkupRule', 'DivinerWorkflow' => 'PhabricatorManagementWorkflow', + 'DoorkeeperAsanaFeedWorker' => 'DoorkeeperFeedWorker', 'DoorkeeperBridge' => 'Phobject', 'DoorkeeperBridgeAsana' => 'DoorkeeperBridge', 'DoorkeeperBridgeJIRA' => 'DoorkeeperBridge', @@ -3698,9 +3699,8 @@ phutil_register_library_map(array( ), 'DoorkeeperExternalObjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 'DoorkeeperFeedWorker' => 'FeedPushWorker', - 'DoorkeeperFeedWorkerAsana' => 'DoorkeeperFeedWorker', - 'DoorkeeperFeedWorkerJIRA' => 'DoorkeeperFeedWorker', 'DoorkeeperImportEngine' => 'Phobject', + 'DoorkeeperJIRAFeedWorker' => 'DoorkeeperFeedWorker', 'DoorkeeperMissingLinkException' => 'Exception', 'DoorkeeperObjectRef' => 'Phobject', 'DoorkeeperRemarkupRule' => 'PhutilRemarkupRule', diff --git a/src/applications/doorkeeper/worker/DoorkeeperFeedWorkerAsana.php b/src/applications/doorkeeper/worker/DoorkeeperAsanaFeedWorker.php similarity index 99% rename from src/applications/doorkeeper/worker/DoorkeeperFeedWorkerAsana.php rename to src/applications/doorkeeper/worker/DoorkeeperAsanaFeedWorker.php index 25a6bad994..5a1fac3ad5 100644 --- a/src/applications/doorkeeper/worker/DoorkeeperFeedWorkerAsana.php +++ b/src/applications/doorkeeper/worker/DoorkeeperAsanaFeedWorker.php @@ -4,7 +4,7 @@ * Publishes tasks representing work that needs to be done into Asana, and * updates the tasks as the corresponding Phabricator objects are updated. */ -final class DoorkeeperFeedWorkerAsana extends DoorkeeperFeedWorker { +final class DoorkeeperAsanaFeedWorker extends DoorkeeperFeedWorker { private $provider; diff --git a/src/applications/doorkeeper/worker/DoorkeeperFeedWorkerJIRA.php b/src/applications/doorkeeper/worker/DoorkeeperJIRAFeedWorker.php similarity index 98% rename from src/applications/doorkeeper/worker/DoorkeeperFeedWorkerJIRA.php rename to src/applications/doorkeeper/worker/DoorkeeperJIRAFeedWorker.php index ed75b55126..d5747ebfbf 100644 --- a/src/applications/doorkeeper/worker/DoorkeeperFeedWorkerJIRA.php +++ b/src/applications/doorkeeper/worker/DoorkeeperJIRAFeedWorker.php @@ -4,7 +4,7 @@ * Publishes feed stories into JIRA, using the "JIRA Issues" field to identify * linked issues. */ -final class DoorkeeperFeedWorkerJIRA extends DoorkeeperFeedWorker { +final class DoorkeeperJIRAFeedWorker extends DoorkeeperFeedWorker { private $provider;