From 37106c1b317857abc978f0397406fbab866e861c Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 22 Jul 2014 00:05:17 +1000 Subject: [PATCH] Don't explicitly name abstract base classes Summary: Ref T5655. It is superfluous to include "base" in the name of an abstract base class. Furthermore, it is not done consistently within the code base. Test Plan: Ran `arc unit`. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T5655 Differential Revision: https://secure.phabricator.com/D9989 --- src/__phutil_library_map__.php | 12 ++++++------ ...ller.php => PhabricatorOAuthClientController.php} | 2 +- .../PhabricatorOAuthClientDeleteController.php | 2 +- .../client/PhabricatorOAuthClientEditController.php | 2 +- .../client/PhabricatorOAuthClientListController.php | 2 +- .../client/PhabricatorOAuthClientViewController.php | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) rename src/applications/oauthserver/controller/client/{PhabricatorOAuthClientBaseController.php => PhabricatorOAuthClientController.php} (93%) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index bd539556ec..541d2a9b20 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -1835,7 +1835,7 @@ phutil_register_library_map(array( 'PhabricatorNotificationTestController' => 'applications/notification/controller/PhabricatorNotificationTestController.php', 'PhabricatorOAuthClientAuthorization' => 'applications/oauthserver/storage/PhabricatorOAuthClientAuthorization.php', 'PhabricatorOAuthClientAuthorizationQuery' => 'applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php', - 'PhabricatorOAuthClientBaseController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientBaseController.php', + 'PhabricatorOAuthClientController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientController.php', 'PhabricatorOAuthClientDeleteController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientDeleteController.php', 'PhabricatorOAuthClientEditController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientEditController.php', 'PhabricatorOAuthClientListController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientListController.php', @@ -4644,11 +4644,11 @@ phutil_register_library_map(array( 'PhabricatorPolicyInterface', ), 'PhabricatorOAuthClientAuthorizationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', - 'PhabricatorOAuthClientBaseController' => 'PhabricatorOAuthServerController', - 'PhabricatorOAuthClientDeleteController' => 'PhabricatorOAuthClientBaseController', - 'PhabricatorOAuthClientEditController' => 'PhabricatorOAuthClientBaseController', - 'PhabricatorOAuthClientListController' => 'PhabricatorOAuthClientBaseController', - 'PhabricatorOAuthClientViewController' => 'PhabricatorOAuthClientBaseController', + 'PhabricatorOAuthClientController' => 'PhabricatorOAuthServerController', + 'PhabricatorOAuthClientDeleteController' => 'PhabricatorOAuthClientController', + 'PhabricatorOAuthClientEditController' => 'PhabricatorOAuthClientController', + 'PhabricatorOAuthClientListController' => 'PhabricatorOAuthClientController', + 'PhabricatorOAuthClientViewController' => 'PhabricatorOAuthClientController', 'PhabricatorOAuthResponse' => 'AphrontResponse', 'PhabricatorOAuthServerAccessToken' => 'PhabricatorOAuthServerDAO', 'PhabricatorOAuthServerAuthController' => 'PhabricatorAuthController', diff --git a/src/applications/oauthserver/controller/client/PhabricatorOAuthClientBaseController.php b/src/applications/oauthserver/controller/client/PhabricatorOAuthClientController.php similarity index 93% rename from src/applications/oauthserver/controller/client/PhabricatorOAuthClientBaseController.php rename to src/applications/oauthserver/controller/client/PhabricatorOAuthClientController.php index 90cdb525d4..c373738b1a 100644 --- a/src/applications/oauthserver/controller/client/PhabricatorOAuthClientBaseController.php +++ b/src/applications/oauthserver/controller/client/PhabricatorOAuthClientController.php @@ -1,6 +1,6 @@ getRequest(); diff --git a/src/applications/oauthserver/controller/client/PhabricatorOAuthClientEditController.php b/src/applications/oauthserver/controller/client/PhabricatorOAuthClientEditController.php index 0de4776230..9ed97d85f5 100644 --- a/src/applications/oauthserver/controller/client/PhabricatorOAuthClientEditController.php +++ b/src/applications/oauthserver/controller/client/PhabricatorOAuthClientEditController.php @@ -1,7 +1,7 @@ getRequest(); diff --git a/src/applications/oauthserver/controller/client/PhabricatorOAuthClientListController.php b/src/applications/oauthserver/controller/client/PhabricatorOAuthClientListController.php index 230a1d47b0..ee5d85661a 100644 --- a/src/applications/oauthserver/controller/client/PhabricatorOAuthClientListController.php +++ b/src/applications/oauthserver/controller/client/PhabricatorOAuthClientListController.php @@ -1,7 +1,7 @@ getRequest();