]> khamidou — GitHub mirrors - arcanist.git/commit
Don't explicitly name abstract base classes
authorJoshua Spence <josh@joshuaspence.com>
Mon, 21 Jul 2014 21:49:15 +0000 (07:49 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 21 Jul 2014 21:49:15 +0000 (07:49 +1000)
commitef18ae08eb5e2ecbc14e9921bde2960aefcc9be5
tree9a530c496c9b897000dba560b68d73f26c804cfd
parentc6e6227ef9bfb7dc03c5ce728325017eba16d783
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.

In order to retain compatibility with external code, I have kept the `ArcanistBaseWorkflow` class (which trivially extends from `ArcanistWorkflow`), but it is now deprecated and should output a warning message. Similarly for `ArcanistBaseUnitTestEngine`.

Test Plan: Created a workflow which extends from `ArcanistBaseWorkflow`. Executed the workflow and saw a deprecation warning.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, aurelijus

Maniphest Tasks: T5655

Differential Revision: https://secure.phabricator.com/D9983
53 files changed:
src/__phutil_library_map__.php
src/configuration/ArcanistConfiguration.php
src/unit/engine/ArcanistBaseUnitTestEngine.php
src/unit/engine/ArcanistTestResultParser.php [moved from src/unit/engine/ArcanistBaseTestResultParser.php with 69% similarity]
src/unit/engine/ArcanistUnitTestEngine.php [new file with mode: 0644]
src/unit/engine/GoTestResultParser.php
src/unit/engine/NoseTestEngine.php
src/unit/engine/PhpunitResultParser.php
src/unit/engine/PhpunitTestEngine.php
src/unit/engine/PhutilUnitTestEngine.php
src/unit/engine/PytestTestEngine.php
src/unit/engine/XUnitTestEngine.php
src/workflow/ArcanistAliasWorkflow.php
src/workflow/ArcanistAmendWorkflow.php
src/workflow/ArcanistAnoidWorkflow.php
src/workflow/ArcanistBackoutWorkflow.php
src/workflow/ArcanistBaseWorkflow.php
src/workflow/ArcanistBrowseWorkflow.php
src/workflow/ArcanistCallConduitWorkflow.php
src/workflow/ArcanistCloseRevisionWorkflow.php
src/workflow/ArcanistCloseWorkflow.php
src/workflow/ArcanistCommitWorkflow.php
src/workflow/ArcanistCoverWorkflow.php
src/workflow/ArcanistDiffWorkflow.php
src/workflow/ArcanistDownloadWorkflow.php
src/workflow/ArcanistExportWorkflow.php
src/workflow/ArcanistFeatureWorkflow.php
src/workflow/ArcanistFlagWorkflow.php
src/workflow/ArcanistGetConfigWorkflow.php
src/workflow/ArcanistGitHookPreReceiveWorkflow.php
src/workflow/ArcanistHelpWorkflow.php
src/workflow/ArcanistInlinesWorkflow.php
src/workflow/ArcanistInstallCertificateWorkflow.php
src/workflow/ArcanistLandWorkflow.php
src/workflow/ArcanistLiberateWorkflow.php
src/workflow/ArcanistLintWorkflow.php
src/workflow/ArcanistLintersWorkflow.php
src/workflow/ArcanistListWorkflow.php
src/workflow/ArcanistPasteWorkflow.php
src/workflow/ArcanistPatchWorkflow.php
src/workflow/ArcanistPhrequentWorkflow.php
src/workflow/ArcanistRevertWorkflow.php
src/workflow/ArcanistSetConfigWorkflow.php
src/workflow/ArcanistShellCompleteWorkflow.php
src/workflow/ArcanistSvnHookPreCommitWorkflow.php
src/workflow/ArcanistTasksWorkflow.php
src/workflow/ArcanistTodoWorkflow.php
src/workflow/ArcanistUnitWorkflow.php
src/workflow/ArcanistUpgradeWorkflow.php
src/workflow/ArcanistUploadWorkflow.php
src/workflow/ArcanistVersionWorkflow.php
src/workflow/ArcanistWhichWorkflow.php
src/workflow/ArcanistWorkflow.php [new file with mode: 0644]