Page MenuHomePhabricator

D9982.id23993.diff
No OneTemporary

D9982.id23993.diff

This file is larger than 256 KB, so syntax highlighting was skipped.
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -1139,75 +1139,18 @@
'PhabricatorAphrontViewTestCase' => 'view/__tests__/PhabricatorAphrontViewTestCase.php',
'PhabricatorAppSearchEngine' => 'applications/meta/query/PhabricatorAppSearchEngine.php',
'PhabricatorApplication' => 'applications/base/PhabricatorApplication.php',
- 'PhabricatorApplicationApplications' => 'applications/meta/application/PhabricatorApplicationApplications.php',
- 'PhabricatorApplicationAudit' => 'applications/audit/application/PhabricatorApplicationAudit.php',
- 'PhabricatorApplicationAuth' => 'applications/auth/application/PhabricatorApplicationAuth.php',
- 'PhabricatorApplicationCalendar' => 'applications/calendar/application/PhabricatorApplicationCalendar.php',
- 'PhabricatorApplicationChatLog' => 'applications/chatlog/applications/PhabricatorApplicationChatLog.php',
- 'PhabricatorApplicationConduit' => 'applications/conduit/application/PhabricatorApplicationConduit.php',
- 'PhabricatorApplicationConfig' => 'applications/config/application/PhabricatorApplicationConfig.php',
'PhabricatorApplicationConfigOptions' => 'applications/config/option/PhabricatorApplicationConfigOptions.php',
- 'PhabricatorApplicationConpherence' => 'applications/conpherence/application/PhabricatorApplicationConpherence.php',
- 'PhabricatorApplicationCountdown' => 'applications/countdown/application/PhabricatorApplicationCountdown.php',
- 'PhabricatorApplicationDaemons' => 'applications/daemon/application/PhabricatorApplicationDaemons.php',
- 'PhabricatorApplicationDashboard' => 'applications/dashboard/application/PhabricatorApplicationDashboard.php',
'PhabricatorApplicationDatasource' => 'applications/meta/typeahead/PhabricatorApplicationDatasource.php',
'PhabricatorApplicationDetailViewController' => 'applications/meta/controller/PhabricatorApplicationDetailViewController.php',
- 'PhabricatorApplicationDifferential' => 'applications/differential/application/PhabricatorApplicationDifferential.php',
- 'PhabricatorApplicationDiffusion' => 'applications/diffusion/application/PhabricatorApplicationDiffusion.php',
- 'PhabricatorApplicationDiviner' => 'applications/diviner/application/PhabricatorApplicationDiviner.php',
- 'PhabricatorApplicationDoorkeeper' => 'applications/doorkeeper/application/PhabricatorApplicationDoorkeeper.php',
- 'PhabricatorApplicationDrydock' => 'applications/drydock/application/PhabricatorApplicationDrydock.php',
'PhabricatorApplicationEditController' => 'applications/meta/controller/PhabricatorApplicationEditController.php',
- 'PhabricatorApplicationFact' => 'applications/fact/application/PhabricatorApplicationFact.php',
- 'PhabricatorApplicationFeed' => 'applications/feed/application/PhabricatorApplicationFeed.php',
- 'PhabricatorApplicationFiles' => 'applications/files/application/PhabricatorApplicationFiles.php',
- 'PhabricatorApplicationFlags' => 'applications/flag/application/PhabricatorApplicationFlags.php',
- 'PhabricatorApplicationHarbormaster' => 'applications/harbormaster/application/PhabricatorApplicationHarbormaster.php',
- 'PhabricatorApplicationHelp' => 'applications/help/application/PhabricatorApplicationHelp.php',
- 'PhabricatorApplicationHerald' => 'applications/herald/application/PhabricatorApplicationHerald.php',
- 'PhabricatorApplicationHome' => 'applications/home/application/PhabricatorApplicationHome.php',
'PhabricatorApplicationLaunchView' => 'applications/meta/view/PhabricatorApplicationLaunchView.php',
- 'PhabricatorApplicationLegalpad' => 'applications/legalpad/application/PhabricatorApplicationLegalpad.php',
- 'PhabricatorApplicationMacro' => 'applications/macro/application/PhabricatorApplicationMacro.php',
- 'PhabricatorApplicationMailingLists' => 'applications/mailinglists/application/PhabricatorApplicationMailingLists.php',
- 'PhabricatorApplicationManiphest' => 'applications/maniphest/application/PhabricatorApplicationManiphest.php',
- 'PhabricatorApplicationMetaMTA' => 'applications/metamta/application/PhabricatorApplicationMetaMTA.php',
- 'PhabricatorApplicationNotifications' => 'applications/notification/application/PhabricatorApplicationNotifications.php',
- 'PhabricatorApplicationNuance' => 'applications/nuance/application/PhabricatorApplicationNuance.php',
- 'PhabricatorApplicationOAuthServer' => 'applications/oauthserver/application/PhabricatorApplicationOAuthServer.php',
- 'PhabricatorApplicationOwners' => 'applications/owners/application/PhabricatorApplicationOwners.php',
'PhabricatorApplicationPHIDTypeApplication' => 'applications/meta/phid/PhabricatorApplicationPHIDTypeApplication.php',
- 'PhabricatorApplicationPHPAST' => 'applications/phpast/application/PhabricatorApplicationPHPAST.php',
- 'PhabricatorApplicationPassphrase' => 'applications/passphrase/application/PhabricatorApplicationPassphrase.php',
- 'PhabricatorApplicationPaste' => 'applications/paste/application/PhabricatorApplicationPaste.php',
- 'PhabricatorApplicationPeople' => 'applications/people/application/PhabricatorApplicationPeople.php',
- 'PhabricatorApplicationPhame' => 'applications/phame/application/PhabricatorApplicationPhame.php',
- 'PhabricatorApplicationPhlux' => 'applications/phlux/application/PhabricatorApplicationPhlux.php',
- 'PhabricatorApplicationPholio' => 'applications/pholio/application/PhabricatorApplicationPholio.php',
- 'PhabricatorApplicationPhortune' => 'applications/phortune/application/PhabricatorApplicationPhortune.php',
- 'PhabricatorApplicationPhragment' => 'applications/phragment/application/PhabricatorApplicationPhragment.php',
- 'PhabricatorApplicationPhrequent' => 'applications/phrequent/application/PhabricatorApplicationPhrequent.php',
- 'PhabricatorApplicationPhriction' => 'applications/phriction/application/PhabricatorApplicationPhriction.php',
- 'PhabricatorApplicationPolicy' => 'applications/policy/application/PhabricatorApplicationPolicy.php',
- 'PhabricatorApplicationPonder' => 'applications/ponder/application/PhabricatorApplicationPonder.php',
- 'PhabricatorApplicationProject' => 'applications/project/application/PhabricatorApplicationProject.php',
'PhabricatorApplicationQuery' => 'applications/meta/query/PhabricatorApplicationQuery.php',
- 'PhabricatorApplicationReleeph' => 'applications/releeph/application/PhabricatorApplicationReleeph.php',
'PhabricatorApplicationReleephConfigOptions' => 'applications/releeph/config/PhabricatorApplicationReleephConfigOptions.php',
- 'PhabricatorApplicationRepositories' => 'applications/repository/application/PhabricatorApplicationRepositories.php',
- 'PhabricatorApplicationSearch' => 'applications/search/application/PhabricatorApplicationSearch.php',
'PhabricatorApplicationSearchController' => 'applications/search/controller/PhabricatorApplicationSearchController.php',
'PhabricatorApplicationSearchEngine' => 'applications/search/engine/PhabricatorApplicationSearchEngine.php',
'PhabricatorApplicationSearchResultsControllerInterface' => 'applications/search/interface/PhabricatorApplicationSearchResultsControllerInterface.php',
- 'PhabricatorApplicationSettings' => 'applications/settings/application/PhabricatorApplicationSettings.php',
- 'PhabricatorApplicationSlowvote' => 'applications/slowvote/application/PhabricatorApplicationSlowvote.php',
'PhabricatorApplicationStatusView' => 'applications/meta/view/PhabricatorApplicationStatusView.php',
- 'PhabricatorApplicationSubscriptions' => 'applications/subscriptions/application/PhabricatorApplicationSubscriptions.php',
- 'PhabricatorApplicationSupport' => 'applications/support/application/PhabricatorApplicationSupport.php',
- 'PhabricatorApplicationSystem' => 'applications/system/application/PhabricatorApplicationSystem.php',
- 'PhabricatorApplicationTest' => 'applications/base/controller/__tests__/PhabricatorApplicationTest.php',
- 'PhabricatorApplicationTokens' => 'applications/tokens/application/PhabricatorApplicationTokens.php',
'PhabricatorApplicationTransaction' => 'applications/transactions/storage/PhabricatorApplicationTransaction.php',
'PhabricatorApplicationTransactionComment' => 'applications/transactions/storage/PhabricatorApplicationTransactionComment.php',
'PhabricatorApplicationTransactionCommentEditController' => 'applications/transactions/controller/PhabricatorApplicationTransactionCommentEditController.php',
@@ -1233,16 +1176,14 @@
'PhabricatorApplicationTransactionValidationException' => 'applications/transactions/exception/PhabricatorApplicationTransactionValidationException.php',
'PhabricatorApplicationTransactionValueController' => 'applications/transactions/controller/PhabricatorApplicationTransactionValueController.php',
'PhabricatorApplicationTransactionView' => 'applications/transactions/view/PhabricatorApplicationTransactionView.php',
- 'PhabricatorApplicationTransactions' => 'applications/transactions/application/PhabricatorApplicationTransactions.php',
- 'PhabricatorApplicationTypeahead' => 'applications/typeahead/application/PhabricatorApplicationTypeahead.php',
- 'PhabricatorApplicationUIExamples' => 'applications/uiexample/application/PhabricatorApplicationUIExamples.php',
'PhabricatorApplicationUninstallController' => 'applications/meta/controller/PhabricatorApplicationUninstallController.php',
- 'PhabricatorApplicationXHProf' => 'applications/xhprof/application/PhabricatorApplicationXHProf.php',
+ 'PhabricatorApplicationsApplication' => 'applications/meta/application/PhabricatorApplicationsApplication.php',
'PhabricatorApplicationsController' => 'applications/meta/controller/PhabricatorApplicationsController.php',
'PhabricatorApplicationsListController' => 'applications/meta/controller/PhabricatorApplicationsListController.php',
'PhabricatorAsanaConfigOptions' => 'applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php',
'PhabricatorAuditActionConstants' => 'applications/audit/constants/PhabricatorAuditActionConstants.php',
'PhabricatorAuditAddCommentController' => 'applications/audit/controller/PhabricatorAuditAddCommentController.php',
+ 'PhabricatorAuditApplication' => 'applications/audit/application/PhabricatorAuditApplication.php',
'PhabricatorAuditComment' => 'applications/audit/storage/PhabricatorAuditComment.php',
'PhabricatorAuditCommentEditor' => 'applications/audit/editor/PhabricatorAuditCommentEditor.php',
'PhabricatorAuditCommitStatusConstants' => 'applications/audit/constants/PhabricatorAuditCommitStatusConstants.php',
@@ -1258,6 +1199,7 @@
'PhabricatorAuditReplyHandler' => 'applications/audit/mail/PhabricatorAuditReplyHandler.php',
'PhabricatorAuditStatusConstants' => 'applications/audit/constants/PhabricatorAuditStatusConstants.php',
'PhabricatorAuthAccountView' => 'applications/auth/view/PhabricatorAuthAccountView.php',
+ 'PhabricatorAuthApplication' => 'applications/auth/application/PhabricatorAuthApplication.php',
'PhabricatorAuthConfirmLinkController' => 'applications/auth/controller/PhabricatorAuthConfirmLinkController.php',
'PhabricatorAuthController' => 'applications/auth/controller/PhabricatorAuthController.php',
'PhabricatorAuthDAO' => 'applications/auth/storage/PhabricatorAuthDAO.php',
@@ -1354,6 +1296,7 @@
'PhabricatorCacheMarkupGarbageCollector' => 'applications/cache/garbagecollector/PhabricatorCacheMarkupGarbageCollector.php',
'PhabricatorCacheTTLGarbageCollector' => 'applications/cache/garbagecollector/PhabricatorCacheTTLGarbageCollector.php',
'PhabricatorCaches' => 'applications/cache/PhabricatorCaches.php',
+ 'PhabricatorCalendarApplication' => 'applications/calendar/application/PhabricatorCalendarApplication.php',
'PhabricatorCalendarBrowseController' => 'applications/calendar/controller/PhabricatorCalendarBrowseController.php',
'PhabricatorCalendarController' => 'applications/calendar/controller/PhabricatorCalendarController.php',
'PhabricatorCalendarDAO' => 'applications/calendar/storage/PhabricatorCalendarDAO.php',
@@ -1372,6 +1315,7 @@
'PhabricatorCampfireProtocolAdapter' => 'infrastructure/daemon/bot/adapter/PhabricatorCampfireProtocolAdapter.php',
'PhabricatorChangeParserTestCase' => 'applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php',
'PhabricatorChangesetResponse' => 'infrastructure/diff/PhabricatorChangesetResponse.php',
+ 'PhabricatorChatLogApplication' => 'applications/chatlog/application/PhabricatorChatLogApplication.php',
'PhabricatorChatLogChannel' => 'applications/chatlog/storage/PhabricatorChatLogChannel.php',
'PhabricatorChatLogChannelListController' => 'applications/chatlog/controller/PhabricatorChatLogChannelListController.php',
'PhabricatorChatLogChannelLogController' => 'applications/chatlog/controller/PhabricatorChatLogChannelLogController.php',
@@ -1388,6 +1332,7 @@
'PhabricatorCommitTagsField' => 'applications/repository/customfield/PhabricatorCommitTagsField.php',
'PhabricatorCommonPasswords' => 'applications/auth/constants/PhabricatorCommonPasswords.php',
'PhabricatorConduitAPIController' => 'applications/conduit/controller/PhabricatorConduitAPIController.php',
+ 'PhabricatorConduitApplication' => 'applications/conduit/application/PhabricatorConduitApplication.php',
'PhabricatorConduitCertificateToken' => 'applications/conduit/storage/PhabricatorConduitCertificateToken.php',
'PhabricatorConduitConfigOptions' => 'applications/conduit/config/PhabricatorConduitConfigOptions.php',
'PhabricatorConduitConnectionLog' => 'applications/conduit/storage/PhabricatorConduitConnectionLog.php',
@@ -1402,6 +1347,7 @@
'PhabricatorConduitSearchEngine' => 'applications/conduit/query/PhabricatorConduitSearchEngine.php',
'PhabricatorConduitTokenController' => 'applications/conduit/controller/PhabricatorConduitTokenController.php',
'PhabricatorConfigAllController' => 'applications/config/controller/PhabricatorConfigAllController.php',
+ 'PhabricatorConfigApplication' => 'applications/config/application/PhabricatorConfigApplication.php',
'PhabricatorConfigController' => 'applications/config/controller/PhabricatorConfigController.php',
'PhabricatorConfigDatabaseSource' => 'infrastructure/env/PhabricatorConfigDatabaseSource.php',
'PhabricatorConfigDefaultSource' => 'infrastructure/env/PhabricatorConfigDefaultSource.php',
@@ -1436,6 +1382,7 @@
'PhabricatorConfigTransactionQuery' => 'applications/config/query/PhabricatorConfigTransactionQuery.php',
'PhabricatorConfigValidationException' => 'applications/config/exception/PhabricatorConfigValidationException.php',
'PhabricatorConfigWelcomeController' => 'applications/config/controller/PhabricatorConfigWelcomeController.php',
+ 'PhabricatorConpherenceApplication' => 'applications/conpherence/application/PhabricatorConpherenceApplication.php',
'PhabricatorConpherencePHIDTypeThread' => 'applications/conpherence/phid/PhabricatorConpherencePHIDTypeThread.php',
'PhabricatorContentSource' => 'applications/metamta/contentsource/PhabricatorContentSource.php',
'PhabricatorContentSourceView' => 'applications/metamta/contentsource/PhabricatorContentSourceView.php',
@@ -1443,6 +1390,7 @@
'PhabricatorCookies' => 'applications/auth/constants/PhabricatorCookies.php',
'PhabricatorCoreConfigOptions' => 'applications/config/option/PhabricatorCoreConfigOptions.php',
'PhabricatorCountdown' => 'applications/countdown/storage/PhabricatorCountdown.php',
+ 'PhabricatorCountdownApplication' => 'applications/countdown/application/PhabricatorCountdownApplication.php',
'PhabricatorCountdownCapabilityDefaultView' => 'applications/countdown/capability/PhabricatorCountdownCapabilityDefaultView.php',
'PhabricatorCountdownController' => 'applications/countdown/controller/PhabricatorCountdownController.php',
'PhabricatorCountdownDAO' => 'applications/countdown/storage/PhabricatorCountdownDAO.php',
@@ -1499,8 +1447,10 @@
'PhabricatorDaemonManagementWorkflow' => 'applications/daemon/management/PhabricatorDaemonManagementWorkflow.php',
'PhabricatorDaemonReference' => 'infrastructure/daemon/control/PhabricatorDaemonReference.php',
'PhabricatorDaemonTaskGarbageCollector' => 'applications/daemon/garbagecollector/PhabricatorDaemonTaskGarbageCollector.php',
+ 'PhabricatorDaemonsApplication' => 'applications/daemon/application/PhabricatorDaemonsApplication.php',
'PhabricatorDashboard' => 'applications/dashboard/storage/PhabricatorDashboard.php',
'PhabricatorDashboardAddPanelController' => 'applications/dashboard/controller/PhabricatorDashboardAddPanelController.php',
+ 'PhabricatorDashboardApplication' => 'applications/dashboard/application/PhabricatorDashboardApplication.php',
'PhabricatorDashboardController' => 'applications/dashboard/controller/PhabricatorDashboardController.php',
'PhabricatorDashboardCopyController' => 'applications/dashboard/controller/PhabricatorDashboardCopyController.php',
'PhabricatorDashboardDAO' => 'applications/dashboard/storage/PhabricatorDashboardDAO.php',
@@ -1553,13 +1503,18 @@
'PhabricatorDestructionEngine' => 'applications/system/engine/PhabricatorDestructionEngine.php',
'PhabricatorDeveloperConfigOptions' => 'applications/config/option/PhabricatorDeveloperConfigOptions.php',
'PhabricatorDifferenceEngine' => 'infrastructure/diff/PhabricatorDifferenceEngine.php',
+ 'PhabricatorDifferentialApplication' => 'applications/differential/application/PhabricatorDifferentialApplication.php',
'PhabricatorDifferentialConfigOptions' => 'applications/differential/config/PhabricatorDifferentialConfigOptions.php',
'PhabricatorDifferentialRevisionTestDataGenerator' => 'applications/differential/lipsum/PhabricatorDifferentialRevisionTestDataGenerator.php',
+ 'PhabricatorDiffusionApplication' => 'applications/diffusion/application/PhabricatorDiffusionApplication.php',
'PhabricatorDiffusionConfigOptions' => 'applications/diffusion/config/PhabricatorDiffusionConfigOptions.php',
'PhabricatorDisabledUserController' => 'applications/auth/controller/PhabricatorDisabledUserController.php',
'PhabricatorDisqusConfigOptions' => 'applications/config/option/PhabricatorDisqusConfigOptions.php',
+ 'PhabricatorDivinerApplication' => 'applications/diviner/application/PhabricatorDivinerApplication.php',
+ 'PhabricatorDoorkeeperApplication' => 'applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php',
'PhabricatorDraft' => 'applications/draft/storage/PhabricatorDraft.php',
'PhabricatorDraftDAO' => 'applications/draft/storage/PhabricatorDraftDAO.php',
+ 'PhabricatorDrydockApplication' => 'applications/drydock/application/PhabricatorDrydockApplication.php',
'PhabricatorEdgeConfig' => 'infrastructure/edges/constants/PhabricatorEdgeConfig.php',
'PhabricatorEdgeConstants' => 'infrastructure/edges/constants/PhabricatorEdgeConstants.php',
'PhabricatorEdgeCycleException' => 'infrastructure/edges/exception/PhabricatorEdgeCycleException.php',
@@ -1585,6 +1540,7 @@
'PhabricatorExternalAccount' => 'applications/people/storage/PhabricatorExternalAccount.php',
'PhabricatorExternalAccountQuery' => 'applications/auth/query/PhabricatorExternalAccountQuery.php',
'PhabricatorFactAggregate' => 'applications/fact/storage/PhabricatorFactAggregate.php',
+ 'PhabricatorFactApplication' => 'applications/fact/application/PhabricatorFactApplication.php',
'PhabricatorFactChartController' => 'applications/fact/controller/PhabricatorFactChartController.php',
'PhabricatorFactController' => 'applications/fact/controller/PhabricatorFactController.php',
'PhabricatorFactCountEngine' => 'applications/fact/engine/PhabricatorFactCountEngine.php',
@@ -1604,6 +1560,7 @@
'PhabricatorFactSimpleSpec' => 'applications/fact/spec/PhabricatorFactSimpleSpec.php',
'PhabricatorFactSpec' => 'applications/fact/spec/PhabricatorFactSpec.php',
'PhabricatorFactUpdateIterator' => 'applications/fact/extract/PhabricatorFactUpdateIterator.php',
+ 'PhabricatorFeedApplication' => 'applications/feed/application/PhabricatorFeedApplication.php',
'PhabricatorFeedBuilder' => 'applications/feed/builder/PhabricatorFeedBuilder.php',
'PhabricatorFeedConfigOptions' => 'applications/feed/config/PhabricatorFeedConfigOptions.php',
'PhabricatorFeedConstants' => 'applications/feed/constants/PhabricatorFeedConstants.php',
@@ -1663,6 +1620,7 @@
'PhabricatorFileUploadController' => 'applications/files/controller/PhabricatorFileUploadController.php',
'PhabricatorFileUploadDialogController' => 'applications/files/controller/PhabricatorFileUploadDialogController.php',
'PhabricatorFileUploadException' => 'applications/files/exception/PhabricatorFileUploadException.php',
+ 'PhabricatorFilesApplication' => 'applications/files/application/PhabricatorFilesApplication.php',
'PhabricatorFilesConfigOptions' => 'applications/files/config/PhabricatorFilesConfigOptions.php',
'PhabricatorFilesManagementEnginesWorkflow' => 'applications/files/management/PhabricatorFilesManagementEnginesWorkflow.php',
'PhabricatorFilesManagementMigrateWorkflow' => 'applications/files/management/PhabricatorFilesManagementMigrateWorkflow.php',
@@ -1681,6 +1639,7 @@
'PhabricatorFlagSearchEngine' => 'applications/flag/query/PhabricatorFlagSearchEngine.php',
'PhabricatorFlagSelectControl' => 'applications/flag/view/PhabricatorFlagSelectControl.php',
'PhabricatorFlaggableInterface' => 'applications/flag/interface/PhabricatorFlaggableInterface.php',
+ 'PhabricatorFlagsApplication' => 'applications/flag/application/PhabricatorFlagsApplication.php',
'PhabricatorFlagsUIEventListener' => 'applications/flag/events/PhabricatorFlagsUIEventListener.php',
'PhabricatorFormExample' => 'applications/uiexample/examples/PhabricatorFormExample.php',
'PhabricatorGarbageCollector' => 'infrastructure/daemon/garbagecollector/PhabricatorGarbageCollector.php',
@@ -1692,12 +1651,16 @@
'PhabricatorGlobalUploadTargetView' => 'applications/files/view/PhabricatorGlobalUploadTargetView.php',
'PhabricatorHandleObjectSelectorDataView' => 'applications/phid/handle/view/PhabricatorHandleObjectSelectorDataView.php',
'PhabricatorHandleQuery' => 'applications/phid/query/PhabricatorHandleQuery.php',
+ 'PhabricatorHarbormasterApplication' => 'applications/harbormaster/application/PhabricatorHarbormasterApplication.php',
'PhabricatorHarbormasterConfigOptions' => 'applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php',
'PhabricatorHash' => 'infrastructure/util/PhabricatorHash.php',
'PhabricatorHashTestCase' => 'infrastructure/util/__tests__/PhabricatorHashTestCase.php',
+ 'PhabricatorHelpApplication' => 'applications/help/application/PhabricatorHelpApplication.php',
'PhabricatorHelpController' => 'applications/help/controller/PhabricatorHelpController.php',
'PhabricatorHelpEditorProtocolController' => 'applications/help/controller/PhabricatorHelpEditorProtocolController.php',
'PhabricatorHelpKeyboardShortcutController' => 'applications/help/controller/PhabricatorHelpKeyboardShortcutController.php',
+ 'PhabricatorHeraldApplication' => 'applications/herald/application/PhabricatorHeraldApplication.php',
+ 'PhabricatorHomeApplication' => 'applications/home/application/PhabricatorHomeApplication.php',
'PhabricatorHomeController' => 'applications/home/controller/PhabricatorHomeController.php',
'PhabricatorHomeMainController' => 'applications/home/controller/PhabricatorHomeMainController.php',
'PhabricatorHomeQuickCreateController' => 'applications/home/controller/PhabricatorHomeQuickCreateController.php',
@@ -1719,6 +1682,7 @@
'PhabricatorJumpNavHandler' => 'applications/search/engine/PhabricatorJumpNavHandler.php',
'PhabricatorKeyValueDatabaseCache' => 'applications/cache/PhabricatorKeyValueDatabaseCache.php',
'PhabricatorLegacyEdgeType' => 'infrastructure/edges/type/PhabricatorLegacyEdgeType.php',
+ 'PhabricatorLegalpadApplication' => 'applications/legalpad/application/PhabricatorLegalpadApplication.php',
'PhabricatorLegalpadConfigOptions' => 'applications/legalpad/config/PhabricatorLegalpadConfigOptions.php',
'PhabricatorLegalpadPHIDTypeDocument' => 'applications/legalpad/phid/PhabricatorLegalpadPHIDTypeDocument.php',
'PhabricatorLipsumArtist' => 'applications/lipsum/image/PhabricatorLipsumArtist.php',
@@ -1729,6 +1693,7 @@
'PhabricatorLocalDiskFileStorageEngine' => 'applications/files/engine/PhabricatorLocalDiskFileStorageEngine.php',
'PhabricatorLocalTimeTestCase' => 'view/__tests__/PhabricatorLocalTimeTestCase.php',
'PhabricatorLogoutController' => 'applications/auth/controller/PhabricatorLogoutController.php',
+ 'PhabricatorMacroApplication' => 'applications/macro/application/PhabricatorMacroApplication.php',
'PhabricatorMacroAudioController' => 'applications/macro/controller/PhabricatorMacroAudioController.php',
'PhabricatorMacroCapabilityManage' => 'applications/macro/capability/PhabricatorMacroCapabilityManage.php',
'PhabricatorMacroCommentController' => 'applications/macro/controller/PhabricatorMacroCommentController.php',
@@ -1775,6 +1740,7 @@
'PhabricatorMailingListPHIDTypeList' => 'applications/mailinglists/phid/PhabricatorMailingListPHIDTypeList.php',
'PhabricatorMailingListQuery' => 'applications/mailinglists/query/PhabricatorMailingListQuery.php',
'PhabricatorMailingListSearchEngine' => 'applications/mailinglists/query/PhabricatorMailingListSearchEngine.php',
+ 'PhabricatorMailingListsApplication' => 'applications/mailinglists/application/PhabricatorMailingListsApplication.php',
'PhabricatorMailingListsController' => 'applications/mailinglists/controller/PhabricatorMailingListsController.php',
'PhabricatorMailingListsEditController' => 'applications/mailinglists/controller/PhabricatorMailingListsEditController.php',
'PhabricatorMailingListsListController' => 'applications/mailinglists/controller/PhabricatorMailingListsListController.php',
@@ -1783,6 +1749,7 @@
'PhabricatorMainMenuSearchView' => 'view/page/menu/PhabricatorMainMenuSearchView.php',
'PhabricatorMainMenuView' => 'view/page/menu/PhabricatorMainMenuView.php',
'PhabricatorManagementWorkflow' => 'infrastructure/management/PhabricatorManagementWorkflow.php',
+ 'PhabricatorManiphestApplication' => 'applications/maniphest/application/PhabricatorManiphestApplication.php',
'PhabricatorManiphestConfigOptions' => 'applications/maniphest/config/PhabricatorManiphestConfigOptions.php',
'PhabricatorManiphestTaskTestDataGenerator' => 'applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php',
'PhabricatorMarkupCache' => 'applications/cache/storage/PhabricatorMarkupCache.php',
@@ -1793,6 +1760,7 @@
'PhabricatorMercurialGraphStream' => 'applications/repository/daemon/PhabricatorMercurialGraphStream.php',
'PhabricatorMetaMTAActor' => 'applications/metamta/query/PhabricatorMetaMTAActor.php',
'PhabricatorMetaMTAActorQuery' => 'applications/metamta/query/PhabricatorMetaMTAActorQuery.php',
+ 'PhabricatorMetaMTAApplication' => 'applications/metamta/application/PhabricatorMetaMTAApplication.php',
'PhabricatorMetaMTAAttachment' => 'applications/metamta/storage/PhabricatorMetaMTAAttachment.php',
'PhabricatorMetaMTAConfigOptions' => 'applications/config/option/PhabricatorMetaMTAConfigOptions.php',
'PhabricatorMetaMTAController' => 'applications/metamta/controller/PhabricatorMetaMTAController.php',
@@ -1833,6 +1801,8 @@
'PhabricatorNotificationStatusController' => 'applications/notification/controller/PhabricatorNotificationStatusController.php',
'PhabricatorNotificationStatusView' => 'applications/notification/view/PhabricatorNotificationStatusView.php',
'PhabricatorNotificationTestController' => 'applications/notification/controller/PhabricatorNotificationTestController.php',
+ 'PhabricatorNotificationsApplication' => 'applications/notification/application/PhabricatorNotificationsApplication.php',
+ 'PhabricatorNuanceApplication' => 'applications/nuance/application/PhabricatorNuanceApplication.php',
'PhabricatorOAuthClientAuthorization' => 'applications/oauthserver/storage/PhabricatorOAuthClientAuthorization.php',
'PhabricatorOAuthClientAuthorizationQuery' => 'applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php',
'PhabricatorOAuthClientBaseController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientBaseController.php',
@@ -1843,6 +1813,7 @@
'PhabricatorOAuthResponse' => 'applications/oauthserver/PhabricatorOAuthResponse.php',
'PhabricatorOAuthServer' => 'applications/oauthserver/PhabricatorOAuthServer.php',
'PhabricatorOAuthServerAccessToken' => 'applications/oauthserver/storage/PhabricatorOAuthServerAccessToken.php',
+ 'PhabricatorOAuthServerApplication' => 'applications/oauthserver/application/PhabricatorOAuthServerApplication.php',
'PhabricatorOAuthServerAuthController' => 'applications/oauthserver/controller/PhabricatorOAuthServerAuthController.php',
'PhabricatorOAuthServerAuthorizationCode' => 'applications/oauthserver/storage/PhabricatorOAuthServerAuthorizationCode.php',
'PhabricatorOAuthServerAuthorizationsSettingsPanel' => 'applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php',
@@ -1869,6 +1840,7 @@
'PhabricatorObjectSelectorDialog' => 'view/control/PhabricatorObjectSelectorDialog.php',
'PhabricatorOffsetPagedQuery' => 'infrastructure/query/PhabricatorOffsetPagedQuery.php',
'PhabricatorOwnerPathQuery' => 'applications/owners/query/PhabricatorOwnerPathQuery.php',
+ 'PhabricatorOwnersApplication' => 'applications/owners/application/PhabricatorOwnersApplication.php',
'PhabricatorOwnersConfigOptions' => 'applications/owners/config/PhabricatorOwnersConfigOptions.php',
'PhabricatorOwnersController' => 'applications/owners/controller/PhabricatorOwnersController.php',
'PhabricatorOwnersDAO' => 'applications/owners/storage/PhabricatorOwnersDAO.php',
@@ -1889,12 +1861,15 @@
'PhabricatorPHIDConstants' => 'applications/phid/PhabricatorPHIDConstants.php',
'PhabricatorPHIDInterface' => 'applications/phid/interface/PhabricatorPHIDInterface.php',
'PhabricatorPHIDType' => 'applications/phid/type/PhabricatorPHIDType.php',
+ 'PhabricatorPHPASTApplication' => 'applications/phpast/application/PhabricatorPHPASTApplication.php',
'PhabricatorPHPMailerConfigOptions' => 'applications/config/option/PhabricatorPHPMailerConfigOptions.php',
'PhabricatorPagedFormExample' => 'applications/uiexample/examples/PhabricatorPagedFormExample.php',
+ 'PhabricatorPassphraseApplication' => 'applications/passphrase/application/PhabricatorPassphraseApplication.php',
'PhabricatorPasswordHasher' => 'infrastructure/util/password/PhabricatorPasswordHasher.php',
'PhabricatorPasswordHasherTestCase' => 'infrastructure/util/password/__tests__/PhabricatorPasswordHasherTestCase.php',
'PhabricatorPasswordHasherUnavailableException' => 'infrastructure/util/password/PhabricatorPasswordHasherUnavailableException.php',
'PhabricatorPaste' => 'applications/paste/storage/PhabricatorPaste.php',
+ 'PhabricatorPasteApplication' => 'applications/paste/application/PhabricatorPasteApplication.php',
'PhabricatorPasteCommentController' => 'applications/paste/controller/PhabricatorPasteCommentController.php',
'PhabricatorPasteConfigOptions' => 'applications/paste/config/PhabricatorPasteConfigOptions.php',
'PhabricatorPasteController' => 'applications/paste/controller/PhabricatorPasteController.php',
@@ -1911,6 +1886,7 @@
'PhabricatorPasteTransactionComment' => 'applications/paste/storage/PhabricatorPasteTransactionComment.php',
'PhabricatorPasteTransactionQuery' => 'applications/paste/query/PhabricatorPasteTransactionQuery.php',
'PhabricatorPasteViewController' => 'applications/paste/controller/PhabricatorPasteViewController.php',
+ 'PhabricatorPeopleApplication' => 'applications/people/application/PhabricatorPeopleApplication.php',
'PhabricatorPeopleApproveController' => 'applications/people/controller/PhabricatorPeopleApproveController.php',
'PhabricatorPeopleCalendarController' => 'applications/people/controller/PhabricatorPeopleCalendarController.php',
'PhabricatorPeopleController' => 'applications/people/controller/PhabricatorPeopleController.php',
@@ -1936,16 +1912,24 @@
'PhabricatorPeopleSearchEngine' => 'applications/people/query/PhabricatorPeopleSearchEngine.php',
'PhabricatorPeopleTestDataGenerator' => 'applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php',
'PhabricatorPeopleWelcomeController' => 'applications/people/controller/PhabricatorPeopleWelcomeController.php',
+ 'PhabricatorPhameApplication' => 'applications/phame/application/PhabricatorPhameApplication.php',
'PhabricatorPhameConfigOptions' => 'applications/phame/config/PhabricatorPhameConfigOptions.php',
'PhabricatorPhamePHIDTypeBlog' => 'applications/phame/phid/PhabricatorPhamePHIDTypeBlog.php',
'PhabricatorPhamePHIDTypePost' => 'applications/phame/phid/PhabricatorPhamePHIDTypePost.php',
+ 'PhabricatorPhluxApplication' => 'applications/phlux/application/PhabricatorPhluxApplication.php',
+ 'PhabricatorPholioApplication' => 'applications/pholio/application/PhabricatorPholioApplication.php',
'PhabricatorPholioConfigOptions' => 'applications/pholio/config/PhabricatorPholioConfigOptions.php',
'PhabricatorPholioMockTestDataGenerator' => 'applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php',
+ 'PhabricatorPhortuneApplication' => 'applications/phortune/application/PhabricatorPhortuneApplication.php',
'PhabricatorPhortuneConfigOptions' => 'applications/phortune/option/PhabricatorPhortuneConfigOptions.php',
+ 'PhabricatorPhragmentApplication' => 'applications/phragment/application/PhabricatorPhragmentApplication.php',
+ 'PhabricatorPhrequentApplication' => 'applications/phrequent/application/PhabricatorPhrequentApplication.php',
'PhabricatorPhrequentConfigOptions' => 'applications/phrequent/config/PhabricatorPhrequentConfigOptions.php',
+ 'PhabricatorPhrictionApplication' => 'applications/phriction/application/PhabricatorPhrictionApplication.php',
'PhabricatorPhrictionConfigOptions' => 'applications/phriction/config/PhabricatorPhrictionConfigOptions.php',
'PhabricatorPolicies' => 'applications/policy/constants/PhabricatorPolicies.php',
'PhabricatorPolicy' => 'applications/policy/storage/PhabricatorPolicy.php',
+ 'PhabricatorPolicyApplication' => 'applications/policy/application/PhabricatorPolicyApplication.php',
'PhabricatorPolicyAwareQuery' => 'infrastructure/query/policy/PhabricatorPolicyAwareQuery.php',
'PhabricatorPolicyAwareTestQuery' => 'applications/policy/__tests__/PhabricatorPolicyAwareTestQuery.php',
'PhabricatorPolicyCapability' => 'applications/policy/capability/PhabricatorPolicyCapability.php',
@@ -1976,7 +1960,9 @@
'PhabricatorPolicyTestCase' => 'applications/policy/__tests__/PhabricatorPolicyTestCase.php',
'PhabricatorPolicyTestObject' => 'applications/policy/__tests__/PhabricatorPolicyTestObject.php',
'PhabricatorPolicyType' => 'applications/policy/constants/PhabricatorPolicyType.php',
+ 'PhabricatorPonderApplication' => 'applications/ponder/application/PhabricatorPonderApplication.php',
'PhabricatorProject' => 'applications/project/storage/PhabricatorProject.php',
+ 'PhabricatorProjectApplication' => 'applications/project/application/PhabricatorProjectApplication.php',
'PhabricatorProjectArchiveController' => 'applications/project/controller/PhabricatorProjectArchiveController.php',
'PhabricatorProjectBoardController' => 'applications/project/controller/PhabricatorProjectBoardController.php',
'PhabricatorProjectBoardDeleteController' => 'applications/project/controller/PhabricatorProjectBoardDeleteController.php',
@@ -2037,6 +2023,7 @@
'PhabricatorRedirectController' => 'applications/base/controller/PhabricatorRedirectController.php',
'PhabricatorRefreshCSRFController' => 'applications/auth/controller/PhabricatorRefreshCSRFController.php',
'PhabricatorRegistrationProfile' => 'applications/people/storage/PhabricatorRegistrationProfile.php',
+ 'PhabricatorReleephApplication' => 'applications/releeph/application/PhabricatorReleephApplication.php',
'PhabricatorRemarkupBlockInterpreterCowsay' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterCowsay.php',
'PhabricatorRemarkupBlockInterpreterFiglet' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterFiglet.php',
'PhabricatorRemarkupBlockInterpreterGraphviz' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterGraphviz.php',
@@ -2051,6 +2038,7 @@
'PhabricatorRemarkupRuleMention' => 'applications/people/remarkup/PhabricatorRemarkupRuleMention.php',
'PhabricatorRemarkupRuleObject' => 'infrastructure/markup/rule/PhabricatorRemarkupRuleObject.php',
'PhabricatorRemarkupRuleYoutube' => 'infrastructure/markup/rule/PhabricatorRemarkupRuleYoutube.php',
+ 'PhabricatorRepositoriesApplication' => 'applications/repository/application/PhabricatorRepositoriesApplication.php',
'PhabricatorRepository' => 'applications/repository/storage/PhabricatorRepository.php',
'PhabricatorRepositoryArcanistProject' => 'applications/repository/storage/PhabricatorRepositoryArcanistProject.php',
'PhabricatorRepositoryArcanistProjectDeleteController' => 'applications/repository/controller/PhabricatorRepositoryArcanistProjectDeleteController.php',
@@ -2153,6 +2141,7 @@
'PhabricatorSavedQueryQuery' => 'applications/search/query/PhabricatorSavedQueryQuery.php',
'PhabricatorScopedEnv' => 'infrastructure/env/PhabricatorScopedEnv.php',
'PhabricatorSearchAbstractDocument' => 'applications/search/index/PhabricatorSearchAbstractDocument.php',
+ 'PhabricatorSearchApplication' => 'applications/search/application/PhabricatorSearchApplication.php',
'PhabricatorSearchApplicationSearchEngine' => 'applications/search/query/PhabricatorSearchApplicationSearchEngine.php',
'PhabricatorSearchAttachController' => 'applications/search/controller/PhabricatorSearchAttachController.php',
'PhabricatorSearchBaseController' => 'applications/search/controller/PhabricatorSearchBaseController.php',
@@ -2186,6 +2175,7 @@
'PhabricatorSendGridConfigOptions' => 'applications/config/option/PhabricatorSendGridConfigOptions.php',
'PhabricatorSettingsAddEmailAction' => 'applications/settings/action/PhabricatorSettingsAddEmailAction.php',
'PhabricatorSettingsAdjustController' => 'applications/settings/controller/PhabricatorSettingsAdjustController.php',
+ 'PhabricatorSettingsApplication' => 'applications/settings/application/PhabricatorSettingsApplication.php',
'PhabricatorSettingsMainController' => 'applications/settings/controller/PhabricatorSettingsMainController.php',
'PhabricatorSettingsPanel' => 'applications/settings/panel/PhabricatorSettingsPanel.php',
'PhabricatorSettingsPanelAccount' => 'applications/settings/panel/PhabricatorSettingsPanelAccount.php',
@@ -2229,6 +2219,7 @@
'PhabricatorSetupIssue' => 'applications/config/issue/PhabricatorSetupIssue.php',
'PhabricatorSetupIssueExample' => 'applications/uiexample/examples/PhabricatorSetupIssueExample.php',
'PhabricatorSetupIssueView' => 'applications/config/view/PhabricatorSetupIssueView.php',
+ 'PhabricatorSlowvoteApplication' => 'applications/slowvote/application/PhabricatorSlowvoteApplication.php',
'PhabricatorSlowvoteCapabilityDefaultView' => 'applications/slowvote/capability/PhabricatorSlowvoteCapabilityDefaultView.php',
'PhabricatorSlowvoteChoice' => 'applications/slowvote/storage/PhabricatorSlowvoteChoice.php',
'PhabricatorSlowvoteCloseController' => 'applications/slowvote/controller/PhabricatorSlowvoteCloseController.php',
@@ -2279,11 +2270,13 @@
'PhabricatorStoragePatch' => 'infrastructure/storage/management/PhabricatorStoragePatch.php',
'PhabricatorSubscribableInterface' => 'applications/subscriptions/interface/PhabricatorSubscribableInterface.php',
'PhabricatorSubscribersQuery' => 'applications/subscriptions/query/PhabricatorSubscribersQuery.php',
+ 'PhabricatorSubscriptionsApplication' => 'applications/subscriptions/application/PhabricatorSubscriptionsApplication.php',
'PhabricatorSubscriptionsEditController' => 'applications/subscriptions/controller/PhabricatorSubscriptionsEditController.php',
'PhabricatorSubscriptionsEditor' => 'applications/subscriptions/editor/PhabricatorSubscriptionsEditor.php',
'PhabricatorSubscriptionsListController' => 'applications/subscriptions/controller/PhabricatorSubscriptionsListController.php',
'PhabricatorSubscriptionsTransactionController' => 'applications/subscriptions/controller/PhabricatorSubscriptionsTransactionController.php',
'PhabricatorSubscriptionsUIEventListener' => 'applications/subscriptions/events/PhabricatorSubscriptionsUIEventListener.php',
+ 'PhabricatorSupportApplication' => 'applications/support/application/PhabricatorSupportApplication.php',
'PhabricatorSymbolNameLinter' => 'infrastructure/lint/hook/PhabricatorSymbolNameLinter.php',
'PhabricatorSyntaxHighlighter' => 'infrastructure/markup/PhabricatorSyntaxHighlighter.php',
'PhabricatorSyntaxHighlightingConfigOptions' => 'applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php',
@@ -2292,6 +2285,7 @@
'PhabricatorSystemActionGarbageCollector' => 'applications/system/garbagecollector/PhabricatorSystemActionGarbageCollector.php',
'PhabricatorSystemActionLog' => 'applications/system/storage/PhabricatorSystemActionLog.php',
'PhabricatorSystemActionRateLimitException' => 'applications/system/exception/PhabricatorSystemActionRateLimitException.php',
+ 'PhabricatorSystemApplication' => 'applications/system/application/PhabricatorSystemApplication.php',
'PhabricatorSystemDAO' => 'applications/system/storage/PhabricatorSystemDAO.php',
'PhabricatorSystemDestructionGarbageCollector' => 'applications/system/garbagecollector/PhabricatorSystemDestructionGarbageCollector.php',
'PhabricatorSystemDestructionLog' => 'applications/system/storage/PhabricatorSystemDestructionLog.php',
@@ -2301,6 +2295,7 @@
'PhabricatorSystemSelectEncodingController' => 'applications/system/controller/PhabricatorSystemSelectEncodingController.php',
'PhabricatorSystemSelectHighlightController' => 'applications/system/controller/PhabricatorSystemSelectHighlightController.php',
'PhabricatorTaskmasterDaemon' => 'infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php',
+ 'PhabricatorTestApplication' => 'applications/base/controller/__tests__/PhabricatorTestApplication.php',
'PhabricatorTestCase' => 'infrastructure/testing/PhabricatorTestCase.php',
'PhabricatorTestController' => 'applications/base/controller/__tests__/PhabricatorTestController.php',
'PhabricatorTestDataGenerator' => 'applications/lipsum/generator/PhabricatorTestDataGenerator.php',
@@ -2326,13 +2321,16 @@
'PhabricatorTokenReceiverInterface' => 'applications/tokens/interface/PhabricatorTokenReceiverInterface.php',
'PhabricatorTokenReceiverQuery' => 'applications/tokens/query/PhabricatorTokenReceiverQuery.php',
'PhabricatorTokenUIEventListener' => 'applications/tokens/event/PhabricatorTokenUIEventListener.php',
+ 'PhabricatorTokensApplication' => 'applications/tokens/application/PhabricatorTokensApplication.php',
'PhabricatorTransactionView' => 'view/layout/PhabricatorTransactionView.php',
'PhabricatorTransactions' => 'applications/transactions/constants/PhabricatorTransactions.php',
+ 'PhabricatorTransactionsApplication' => 'applications/transactions/application/PhabricatorTransactionsApplication.php',
'PhabricatorTransformedFile' => 'applications/files/storage/PhabricatorTransformedFile.php',
'PhabricatorTranslation' => 'infrastructure/internationalization/translation/PhabricatorTranslation.php',
'PhabricatorTranslationsConfigOptions' => 'applications/config/option/PhabricatorTranslationsConfigOptions.php',
'PhabricatorTrivialTestCase' => 'infrastructure/testing/__tests__/PhabricatorTrivialTestCase.php',
'PhabricatorTwoColumnExample' => 'applications/uiexample/examples/PhabricatorTwoColumnExample.php',
+ 'PhabricatorTypeaheadApplication' => 'applications/typeahead/application/PhabricatorTypeaheadApplication.php',
'PhabricatorTypeaheadCompositeDatasource' => 'applications/typeahead/datasource/PhabricatorTypeaheadCompositeDatasource.php',
'PhabricatorTypeaheadDatasource' => 'applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php',
'PhabricatorTypeaheadDatasourceController' => 'applications/typeahead/controller/PhabricatorTypeaheadDatasourceController.php',
@@ -2345,6 +2343,7 @@
'PhabricatorUIConfigOptions' => 'applications/config/option/PhabricatorUIConfigOptions.php',
'PhabricatorUIExample' => 'applications/uiexample/examples/PhabricatorUIExample.php',
'PhabricatorUIExampleRenderController' => 'applications/uiexample/controller/PhabricatorUIExampleRenderController.php',
+ 'PhabricatorUIExamplesApplication' => 'applications/uiexample/application/PhabricatorUIExamplesApplication.php',
'PhabricatorUIListFilterExample' => 'applications/uiexample/examples/PhabricatorUIListFilterExample.php',
'PhabricatorUINotificationExample' => 'applications/uiexample/examples/PhabricatorUINotificationExample.php',
'PhabricatorUIPagerExample' => 'applications/uiexample/examples/PhabricatorUIPagerExample.php',
@@ -2404,6 +2403,7 @@
'PhabricatorXHPASTViewRunController' => 'applications/phpast/controller/PhabricatorXHPASTViewRunController.php',
'PhabricatorXHPASTViewStreamController' => 'applications/phpast/controller/PhabricatorXHPASTViewStreamController.php',
'PhabricatorXHPASTViewTreeController' => 'applications/phpast/controller/PhabricatorXHPASTViewTreeController.php',
+ 'PhabricatorXHProfApplication' => 'applications/xhprof/application/PhabricatorXHProfApplication.php',
'PhabricatorXHProfController' => 'applications/xhprof/controller/PhabricatorXHProfController.php',
'PhabricatorXHProfDAO' => 'applications/xhprof/storage/PhabricatorXHProfDAO.php',
'PhabricatorXHProfProfileController' => 'applications/xhprof/controller/PhabricatorXHProfProfileController.php',
@@ -3917,73 +3917,16 @@
'PhabricatorAphrontViewTestCase' => 'PhabricatorTestCase',
'PhabricatorAppSearchEngine' => 'PhabricatorApplicationSearchEngine',
'PhabricatorApplication' => 'PhabricatorPolicyInterface',
- 'PhabricatorApplicationApplications' => 'PhabricatorApplication',
- 'PhabricatorApplicationAudit' => 'PhabricatorApplication',
- 'PhabricatorApplicationAuth' => 'PhabricatorApplication',
- 'PhabricatorApplicationCalendar' => 'PhabricatorApplication',
- 'PhabricatorApplicationChatLog' => 'PhabricatorApplication',
- 'PhabricatorApplicationConduit' => 'PhabricatorApplication',
- 'PhabricatorApplicationConfig' => 'PhabricatorApplication',
'PhabricatorApplicationConfigOptions' => 'Phobject',
- 'PhabricatorApplicationConpherence' => 'PhabricatorApplication',
- 'PhabricatorApplicationCountdown' => 'PhabricatorApplication',
- 'PhabricatorApplicationDaemons' => 'PhabricatorApplication',
- 'PhabricatorApplicationDashboard' => 'PhabricatorApplication',
'PhabricatorApplicationDatasource' => 'PhabricatorTypeaheadDatasource',
'PhabricatorApplicationDetailViewController' => 'PhabricatorApplicationsController',
- 'PhabricatorApplicationDifferential' => 'PhabricatorApplication',
- 'PhabricatorApplicationDiffusion' => 'PhabricatorApplication',
- 'PhabricatorApplicationDiviner' => 'PhabricatorApplication',
- 'PhabricatorApplicationDoorkeeper' => 'PhabricatorApplication',
- 'PhabricatorApplicationDrydock' => 'PhabricatorApplication',
'PhabricatorApplicationEditController' => 'PhabricatorApplicationsController',
- 'PhabricatorApplicationFact' => 'PhabricatorApplication',
- 'PhabricatorApplicationFeed' => 'PhabricatorApplication',
- 'PhabricatorApplicationFiles' => 'PhabricatorApplication',
- 'PhabricatorApplicationFlags' => 'PhabricatorApplication',
- 'PhabricatorApplicationHarbormaster' => 'PhabricatorApplication',
- 'PhabricatorApplicationHelp' => 'PhabricatorApplication',
- 'PhabricatorApplicationHerald' => 'PhabricatorApplication',
- 'PhabricatorApplicationHome' => 'PhabricatorApplication',
'PhabricatorApplicationLaunchView' => 'AphrontTagView',
- 'PhabricatorApplicationLegalpad' => 'PhabricatorApplication',
- 'PhabricatorApplicationMacro' => 'PhabricatorApplication',
- 'PhabricatorApplicationMailingLists' => 'PhabricatorApplication',
- 'PhabricatorApplicationManiphest' => 'PhabricatorApplication',
- 'PhabricatorApplicationMetaMTA' => 'PhabricatorApplication',
- 'PhabricatorApplicationNotifications' => 'PhabricatorApplication',
- 'PhabricatorApplicationNuance' => 'PhabricatorApplication',
- 'PhabricatorApplicationOAuthServer' => 'PhabricatorApplication',
- 'PhabricatorApplicationOwners' => 'PhabricatorApplication',
'PhabricatorApplicationPHIDTypeApplication' => 'PhabricatorPHIDType',
- 'PhabricatorApplicationPHPAST' => 'PhabricatorApplication',
- 'PhabricatorApplicationPassphrase' => 'PhabricatorApplication',
- 'PhabricatorApplicationPaste' => 'PhabricatorApplication',
- 'PhabricatorApplicationPeople' => 'PhabricatorApplication',
- 'PhabricatorApplicationPhame' => 'PhabricatorApplication',
- 'PhabricatorApplicationPhlux' => 'PhabricatorApplication',
- 'PhabricatorApplicationPholio' => 'PhabricatorApplication',
- 'PhabricatorApplicationPhortune' => 'PhabricatorApplication',
- 'PhabricatorApplicationPhragment' => 'PhabricatorApplication',
- 'PhabricatorApplicationPhrequent' => 'PhabricatorApplication',
- 'PhabricatorApplicationPhriction' => 'PhabricatorApplication',
- 'PhabricatorApplicationPolicy' => 'PhabricatorApplication',
- 'PhabricatorApplicationPonder' => 'PhabricatorApplication',
- 'PhabricatorApplicationProject' => 'PhabricatorApplication',
'PhabricatorApplicationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
- 'PhabricatorApplicationReleeph' => 'PhabricatorApplication',
'PhabricatorApplicationReleephConfigOptions' => 'PhabricatorApplicationConfigOptions',
- 'PhabricatorApplicationRepositories' => 'PhabricatorApplication',
- 'PhabricatorApplicationSearch' => 'PhabricatorApplication',
'PhabricatorApplicationSearchController' => 'PhabricatorSearchBaseController',
- 'PhabricatorApplicationSettings' => 'PhabricatorApplication',
- 'PhabricatorApplicationSlowvote' => 'PhabricatorApplication',
'PhabricatorApplicationStatusView' => 'AphrontView',
- 'PhabricatorApplicationSubscriptions' => 'PhabricatorApplication',
- 'PhabricatorApplicationSupport' => 'PhabricatorApplication',
- 'PhabricatorApplicationSystem' => 'PhabricatorApplication',
- 'PhabricatorApplicationTest' => 'PhabricatorApplication',
- 'PhabricatorApplicationTokens' => 'PhabricatorApplication',
'PhabricatorApplicationTransaction' => array(
0 => 'PhabricatorLiskDAO',
1 => 'PhabricatorPolicyInterface',
@@ -4017,15 +3960,13 @@
'PhabricatorApplicationTransactionValidationException' => 'Exception',
'PhabricatorApplicationTransactionValueController' => 'PhabricatorApplicationTransactionController',
'PhabricatorApplicationTransactionView' => 'AphrontView',
- 'PhabricatorApplicationTransactions' => 'PhabricatorApplication',
- 'PhabricatorApplicationTypeahead' => 'PhabricatorApplication',
- 'PhabricatorApplicationUIExamples' => 'PhabricatorApplication',
'PhabricatorApplicationUninstallController' => 'PhabricatorApplicationsController',
- 'PhabricatorApplicationXHProf' => 'PhabricatorApplication',
+ 'PhabricatorApplicationsApplication' => 'PhabricatorApplication',
'PhabricatorApplicationsController' => 'PhabricatorController',
'PhabricatorApplicationsListController' => 'PhabricatorApplicationsController',
'PhabricatorAsanaConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorAuditAddCommentController' => 'PhabricatorAuditController',
+ 'PhabricatorAuditApplication' => 'PhabricatorApplication',
'PhabricatorAuditComment' => array(
0 => 'PhabricatorAuditDAO',
1 => 'PhabricatorMarkupInterface',
@@ -4045,6 +3986,7 @@
'PhabricatorAuditPreviewController' => 'PhabricatorAuditController',
'PhabricatorAuditReplyHandler' => 'PhabricatorMailReplyHandler',
'PhabricatorAuthAccountView' => 'AphrontView',
+ 'PhabricatorAuthApplication' => 'PhabricatorApplication',
'PhabricatorAuthConfirmLinkController' => 'PhabricatorAuthController',
'PhabricatorAuthController' => 'PhabricatorController',
'PhabricatorAuthDAO' => 'PhabricatorLiskDAO',
@@ -4143,6 +4085,7 @@
'PhabricatorCacheManagementWorkflow' => 'PhabricatorManagementWorkflow',
'PhabricatorCacheMarkupGarbageCollector' => 'PhabricatorGarbageCollector',
'PhabricatorCacheTTLGarbageCollector' => 'PhabricatorGarbageCollector',
+ 'PhabricatorCalendarApplication' => 'PhabricatorApplication',
'PhabricatorCalendarBrowseController' => 'PhabricatorCalendarController',
'PhabricatorCalendarController' => 'PhabricatorController',
'PhabricatorCalendarDAO' => 'PhabricatorLiskDAO',
@@ -4164,6 +4107,7 @@
'PhabricatorCampfireProtocolAdapter' => 'PhabricatorBotBaseStreamingProtocolAdapter',
'PhabricatorChangeParserTestCase' => 'PhabricatorWorkingCopyTestCase',
'PhabricatorChangesetResponse' => 'AphrontProxyResponse',
+ 'PhabricatorChatLogApplication' => 'PhabricatorApplication',
'PhabricatorChatLogChannel' => array(
0 => 'PhabricatorChatLogDAO',
1 => 'PhabricatorPolicyInterface',
@@ -4185,6 +4129,7 @@
'PhabricatorCommitTagsField' => 'PhabricatorCommitCustomField',
'PhabricatorCommonPasswords' => 'Phobject',
'PhabricatorConduitAPIController' => 'PhabricatorConduitController',
+ 'PhabricatorConduitApplication' => 'PhabricatorApplication',
'PhabricatorConduitCertificateToken' => 'PhabricatorConduitDAO',
'PhabricatorConduitConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorConduitConnectionLog' => 'PhabricatorConduitDAO',
@@ -4202,6 +4147,7 @@
'PhabricatorConduitSearchEngine' => 'PhabricatorApplicationSearchEngine',
'PhabricatorConduitTokenController' => 'PhabricatorConduitController',
'PhabricatorConfigAllController' => 'PhabricatorConfigController',
+ 'PhabricatorConfigApplication' => 'PhabricatorApplication',
'PhabricatorConfigController' => 'PhabricatorController',
'PhabricatorConfigDatabaseSource' => 'PhabricatorConfigProxySource',
'PhabricatorConfigDefaultSource' => 'PhabricatorConfigProxySource',
@@ -4239,6 +4185,7 @@
'PhabricatorConfigTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhabricatorConfigValidationException' => 'Exception',
'PhabricatorConfigWelcomeController' => 'PhabricatorConfigController',
+ 'PhabricatorConpherenceApplication' => 'PhabricatorApplication',
'PhabricatorConpherencePHIDTypeThread' => 'PhabricatorPHIDType',
'PhabricatorContentSourceView' => 'AphrontView',
'PhabricatorController' => 'AphrontController',
@@ -4248,6 +4195,7 @@
0 => 'PhabricatorCountdownDAO',
1 => 'PhabricatorPolicyInterface',
),
+ 'PhabricatorCountdownApplication' => 'PhabricatorApplication',
'PhabricatorCountdownCapabilityDefaultView' => 'PhabricatorPolicyCapability',
'PhabricatorCountdownController' => 'PhabricatorController',
'PhabricatorCountdownDAO' => 'PhabricatorLiskDAO',
@@ -4303,11 +4251,13 @@
'PhabricatorDaemonManagementStopWorkflow' => 'PhabricatorDaemonManagementWorkflow',
'PhabricatorDaemonManagementWorkflow' => 'PhabricatorManagementWorkflow',
'PhabricatorDaemonTaskGarbageCollector' => 'PhabricatorGarbageCollector',
+ 'PhabricatorDaemonsApplication' => 'PhabricatorApplication',
'PhabricatorDashboard' => array(
0 => 'PhabricatorDashboardDAO',
1 => 'PhabricatorPolicyInterface',
),
'PhabricatorDashboardAddPanelController' => 'PhabricatorDashboardController',
+ 'PhabricatorDashboardApplication' => 'PhabricatorApplication',
'PhabricatorDashboardController' => 'PhabricatorController',
'PhabricatorDashboardCopyController' => 'PhabricatorDashboardController',
'PhabricatorDashboardDAO' => 'PhabricatorLiskDAO',
@@ -4364,13 +4314,18 @@
'PhabricatorDefaultSearchEngineSelector' => 'PhabricatorSearchEngineSelector',
'PhabricatorDestructionEngine' => 'Phobject',
'PhabricatorDeveloperConfigOptions' => 'PhabricatorApplicationConfigOptions',
+ 'PhabricatorDifferentialApplication' => 'PhabricatorApplication',
'PhabricatorDifferentialConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorDifferentialRevisionTestDataGenerator' => 'PhabricatorTestDataGenerator',
+ 'PhabricatorDiffusionApplication' => 'PhabricatorApplication',
'PhabricatorDiffusionConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorDisabledUserController' => 'PhabricatorAuthController',
'PhabricatorDisqusConfigOptions' => 'PhabricatorApplicationConfigOptions',
+ 'PhabricatorDivinerApplication' => 'PhabricatorApplication',
+ 'PhabricatorDoorkeeperApplication' => 'PhabricatorApplication',
'PhabricatorDraft' => 'PhabricatorDraftDAO',
'PhabricatorDraftDAO' => 'PhabricatorLiskDAO',
+ 'PhabricatorDrydockApplication' => 'PhabricatorApplication',
'PhabricatorEdgeConfig' => 'PhabricatorEdgeConstants',
'PhabricatorEdgeCycleException' => 'Exception',
'PhabricatorEdgeEditor' => 'Phobject',
@@ -4396,6 +4351,7 @@
),
'PhabricatorExternalAccountQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorFactAggregate' => 'PhabricatorFactDAO',
+ 'PhabricatorFactApplication' => 'PhabricatorApplication',
'PhabricatorFactChartController' => 'PhabricatorFactController',
'PhabricatorFactController' => 'PhabricatorController',
'PhabricatorFactCountEngine' => 'PhabricatorFactEngine',
@@ -4413,6 +4369,7 @@
'PhabricatorFactRaw' => 'PhabricatorFactDAO',
'PhabricatorFactSimpleSpec' => 'PhabricatorFactSpec',
'PhabricatorFactUpdateIterator' => 'PhutilBufferedIterator',
+ 'PhabricatorFeedApplication' => 'PhabricatorApplication',
'PhabricatorFeedConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorFeedController' => 'PhabricatorController',
'PhabricatorFeedDAO' => 'PhabricatorLiskDAO',
@@ -4478,6 +4435,7 @@
'PhabricatorFileUploadController' => 'PhabricatorFileController',
'PhabricatorFileUploadDialogController' => 'PhabricatorFileController',
'PhabricatorFileUploadException' => 'Exception',
+ 'PhabricatorFilesApplication' => 'PhabricatorApplication',
'PhabricatorFilesConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorFilesManagementEnginesWorkflow' => 'PhabricatorFilesManagementWorkflow',
'PhabricatorFilesManagementMigrateWorkflow' => 'PhabricatorFilesManagementWorkflow',
@@ -4498,6 +4456,7 @@
'PhabricatorFlagSearchEngine' => 'PhabricatorApplicationSearchEngine',
'PhabricatorFlagSelectControl' => 'AphrontFormControl',
'PhabricatorFlaggableInterface' => 'PhabricatorPHIDInterface',
+ 'PhabricatorFlagsApplication' => 'PhabricatorApplication',
'PhabricatorFlagsUIEventListener' => 'PhabricatorEventListener',
'PhabricatorFormExample' => 'PhabricatorUIExample',
'PhabricatorGarbageCollector' => 'Phobject',
@@ -4508,11 +4467,15 @@
'PhabricatorGlobalLock' => 'PhutilLock',
'PhabricatorGlobalUploadTargetView' => 'AphrontView',
'PhabricatorHandleQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
+ 'PhabricatorHarbormasterApplication' => 'PhabricatorApplication',
'PhabricatorHarbormasterConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorHashTestCase' => 'PhabricatorTestCase',
+ 'PhabricatorHelpApplication' => 'PhabricatorApplication',
'PhabricatorHelpController' => 'PhabricatorController',
'PhabricatorHelpEditorProtocolController' => 'PhabricatorHelpController',
'PhabricatorHelpKeyboardShortcutController' => 'PhabricatorHelpController',
+ 'PhabricatorHeraldApplication' => 'PhabricatorApplication',
+ 'PhabricatorHomeApplication' => 'PhabricatorApplication',
'PhabricatorHomeController' => 'PhabricatorController',
'PhabricatorHomeMainController' => 'PhabricatorHomeController',
'PhabricatorHomeQuickCreateController' => 'PhabricatorHomeController',
@@ -4532,6 +4495,7 @@
'PhabricatorJavelinLinter' => 'ArcanistLinter',
'PhabricatorKeyValueDatabaseCache' => 'PhutilKeyValueCache',
'PhabricatorLegacyEdgeType' => 'PhabricatorEdgeType',
+ 'PhabricatorLegalpadApplication' => 'PhabricatorApplication',
'PhabricatorLegalpadConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorLegalpadPHIDTypeDocument' => 'PhabricatorPHIDType',
'PhabricatorLipsumGenerateWorkflow' => 'PhabricatorLipsumManagementWorkflow',
@@ -4541,6 +4505,7 @@
'PhabricatorLocalDiskFileStorageEngine' => 'PhabricatorFileStorageEngine',
'PhabricatorLocalTimeTestCase' => 'PhabricatorTestCase',
'PhabricatorLogoutController' => 'PhabricatorAuthController',
+ 'PhabricatorMacroApplication' => 'PhabricatorApplication',
'PhabricatorMacroAudioController' => 'PhabricatorMacroController',
'PhabricatorMacroCapabilityManage' => 'PhabricatorPolicyCapability',
'PhabricatorMacroCommentController' => 'PhabricatorMacroController',
@@ -4582,6 +4547,7 @@
'PhabricatorMailingListPHIDTypeList' => 'PhabricatorPHIDType',
'PhabricatorMailingListQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorMailingListSearchEngine' => 'PhabricatorApplicationSearchEngine',
+ 'PhabricatorMailingListsApplication' => 'PhabricatorApplication',
'PhabricatorMailingListsController' => 'PhabricatorController',
'PhabricatorMailingListsEditController' => 'PhabricatorMailingListsController',
'PhabricatorMailingListsListController' => 'PhabricatorMailingListsController',
@@ -4590,6 +4556,7 @@
'PhabricatorMainMenuSearchView' => 'AphrontView',
'PhabricatorMainMenuView' => 'AphrontView',
'PhabricatorManagementWorkflow' => 'PhutilArgumentWorkflow',
+ 'PhabricatorManiphestApplication' => 'PhabricatorApplication',
'PhabricatorManiphestConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorManiphestTaskTestDataGenerator' => 'PhabricatorTestDataGenerator',
'PhabricatorMarkupCache' => 'PhabricatorCacheDAO',
@@ -4597,6 +4564,7 @@
'PhabricatorMarkupPreviewController' => 'PhabricatorController',
'PhabricatorMercurialGraphStream' => 'PhabricatorRepositoryGraphStream',
'PhabricatorMetaMTAActorQuery' => 'PhabricatorQuery',
+ 'PhabricatorMetaMTAApplication' => 'PhabricatorApplication',
'PhabricatorMetaMTAConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorMetaMTAController' => 'PhabricatorController',
'PhabricatorMetaMTADAO' => 'PhabricatorLiskDAO',
@@ -4610,6 +4578,7 @@
'PhabricatorMetaMTAMailingList' => array(
0 => 'PhabricatorMetaMTADAO',
1 => 'PhabricatorPolicyInterface',
+ 2 => 'PhabricatorDestructableInterface',
),
'PhabricatorMetaMTAMemberQuery' => 'PhabricatorQuery',
'PhabricatorMetaMTAPermanentFailureException' => 'Exception',
@@ -4638,6 +4607,8 @@
'PhabricatorNotificationStatusController' => 'PhabricatorNotificationController',
'PhabricatorNotificationStatusView' => 'AphrontTagView',
'PhabricatorNotificationTestController' => 'PhabricatorNotificationController',
+ 'PhabricatorNotificationsApplication' => 'PhabricatorApplication',
+ 'PhabricatorNuanceApplication' => 'PhabricatorApplication',
'PhabricatorOAuthClientAuthorization' => array(
0 => 'PhabricatorOAuthServerDAO',
1 => 'PhabricatorPolicyInterface',
@@ -4650,6 +4621,7 @@
'PhabricatorOAuthClientViewController' => 'PhabricatorOAuthClientBaseController',
'PhabricatorOAuthResponse' => 'AphrontResponse',
'PhabricatorOAuthServerAccessToken' => 'PhabricatorOAuthServerDAO',
+ 'PhabricatorOAuthServerApplication' => 'PhabricatorApplication',
'PhabricatorOAuthServerAuthController' => 'PhabricatorAuthController',
'PhabricatorOAuthServerAuthorizationCode' => 'PhabricatorOAuthServerDAO',
'PhabricatorOAuthServerAuthorizationsSettingsPanel' => 'PhabricatorSettingsPanel',
@@ -4674,6 +4646,7 @@
'PhabricatorObjectMailReceiverTestCase' => 'PhabricatorTestCase',
'PhabricatorObjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorOffsetPagedQuery' => 'PhabricatorQuery',
+ 'PhabricatorOwnersApplication' => 'PhabricatorApplication',
'PhabricatorOwnersConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorOwnersController' => 'PhabricatorController',
'PhabricatorOwnersDAO' => 'PhabricatorLiskDAO',
@@ -4692,8 +4665,10 @@
'PhabricatorOwnersPackageTestCase' => 'PhabricatorTestCase',
'PhabricatorOwnersPath' => 'PhabricatorOwnersDAO',
'PhabricatorPHDConfigOptions' => 'PhabricatorApplicationConfigOptions',
+ 'PhabricatorPHPASTApplication' => 'PhabricatorApplication',
'PhabricatorPHPMailerConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorPagedFormExample' => 'PhabricatorUIExample',
+ 'PhabricatorPassphraseApplication' => 'PhabricatorApplication',
'PhabricatorPasswordHasher' => 'Phobject',
'PhabricatorPasswordHasherTestCase' => 'PhabricatorTestCase',
'PhabricatorPasswordHasherUnavailableException' => 'Exception',
@@ -4705,6 +4680,7 @@
4 => 'PhabricatorPolicyInterface',
5 => 'PhabricatorProjectInterface',
),
+ 'PhabricatorPasteApplication' => 'PhabricatorApplication',
'PhabricatorPasteCommentController' => 'PhabricatorPasteController',
'PhabricatorPasteConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorPasteController' => 'PhabricatorController',
@@ -4721,6 +4697,7 @@
'PhabricatorPasteTransactionComment' => 'PhabricatorApplicationTransactionComment',
'PhabricatorPasteTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhabricatorPasteViewController' => 'PhabricatorPasteController',
+ 'PhabricatorPeopleApplication' => 'PhabricatorApplication',
'PhabricatorPeopleApproveController' => 'PhabricatorPeopleController',
'PhabricatorPeopleCalendarController' => 'PhabricatorPeopleController',
'PhabricatorPeopleController' => 'PhabricatorController',
@@ -4746,19 +4723,27 @@
'PhabricatorPeopleSearchEngine' => 'PhabricatorApplicationSearchEngine',
'PhabricatorPeopleTestDataGenerator' => 'PhabricatorTestDataGenerator',
'PhabricatorPeopleWelcomeController' => 'PhabricatorPeopleController',
+ 'PhabricatorPhameApplication' => 'PhabricatorApplication',
'PhabricatorPhameConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorPhamePHIDTypeBlog' => 'PhabricatorPHIDType',
'PhabricatorPhamePHIDTypePost' => 'PhabricatorPHIDType',
+ 'PhabricatorPhluxApplication' => 'PhabricatorApplication',
+ 'PhabricatorPholioApplication' => 'PhabricatorApplication',
'PhabricatorPholioConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorPholioMockTestDataGenerator' => 'PhabricatorTestDataGenerator',
+ 'PhabricatorPhortuneApplication' => 'PhabricatorApplication',
'PhabricatorPhortuneConfigOptions' => 'PhabricatorApplicationConfigOptions',
+ 'PhabricatorPhragmentApplication' => 'PhabricatorApplication',
+ 'PhabricatorPhrequentApplication' => 'PhabricatorApplication',
'PhabricatorPhrequentConfigOptions' => 'PhabricatorApplicationConfigOptions',
+ 'PhabricatorPhrictionApplication' => 'PhabricatorApplication',
'PhabricatorPhrictionConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorPolicies' => 'PhabricatorPolicyConstants',
'PhabricatorPolicy' => array(
0 => 'PhabricatorPolicyDAO',
1 => 'PhabricatorPolicyInterface',
),
+ 'PhabricatorPolicyApplication' => 'PhabricatorApplication',
'PhabricatorPolicyAwareQuery' => 'PhabricatorOffsetPagedQuery',
'PhabricatorPolicyAwareTestQuery' => 'PhabricatorPolicyAwareQuery',
'PhabricatorPolicyCapability' => 'Phobject',
@@ -4786,6 +4771,7 @@
'PhabricatorPolicyTestCase' => 'PhabricatorTestCase',
'PhabricatorPolicyTestObject' => 'PhabricatorPolicyInterface',
'PhabricatorPolicyType' => 'PhabricatorPolicyConstants',
+ 'PhabricatorPonderApplication' => 'PhabricatorApplication',
'PhabricatorProject' => array(
0 => 'PhabricatorProjectDAO',
1 => 'PhabricatorFlaggableInterface',
@@ -4794,6 +4780,7 @@
4 => 'PhabricatorCustomFieldInterface',
5 => 'PhabricatorDestructableInterface',
),
+ 'PhabricatorProjectApplication' => 'PhabricatorApplication',
'PhabricatorProjectArchiveController' => 'PhabricatorProjectController',
'PhabricatorProjectBoardController' => 'PhabricatorProjectController',
'PhabricatorProjectBoardDeleteController' => 'PhabricatorProjectBoardController',
@@ -4860,6 +4847,7 @@
'PhabricatorRedirectController' => 'PhabricatorController',
'PhabricatorRefreshCSRFController' => 'PhabricatorAuthController',
'PhabricatorRegistrationProfile' => 'Phobject',
+ 'PhabricatorReleephApplication' => 'PhabricatorApplication',
'PhabricatorRemarkupBlockInterpreterCowsay' => 'PhutilRemarkupBlockInterpreter',
'PhabricatorRemarkupBlockInterpreterFiglet' => 'PhutilRemarkupBlockInterpreter',
'PhabricatorRemarkupBlockInterpreterGraphviz' => 'PhutilRemarkupBlockInterpreter',
@@ -4874,6 +4862,7 @@
'PhabricatorRemarkupRuleMention' => 'PhutilRemarkupRule',
'PhabricatorRemarkupRuleObject' => 'PhutilRemarkupRule',
'PhabricatorRemarkupRuleYoutube' => 'PhutilRemarkupRule',
+ 'PhabricatorRepositoriesApplication' => 'PhabricatorApplication',
'PhabricatorRepository' => array(
0 => 'PhabricatorRepositoryDAO',
1 => 'PhabricatorPolicyInterface',
@@ -5004,6 +4993,7 @@
1 => 'PhabricatorPolicyInterface',
),
'PhabricatorSavedQueryQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
+ 'PhabricatorSearchApplication' => 'PhabricatorApplication',
'PhabricatorSearchApplicationSearchEngine' => 'PhabricatorApplicationSearchEngine',
'PhabricatorSearchAttachController' => 'PhabricatorSearchBaseController',
'PhabricatorSearchBaseController' => 'PhabricatorController',
@@ -5031,6 +5021,7 @@
'PhabricatorSendGridConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorSettingsAddEmailAction' => 'PhabricatorSystemAction',
'PhabricatorSettingsAdjustController' => 'PhabricatorController',
+ 'PhabricatorSettingsApplication' => 'PhabricatorApplication',
'PhabricatorSettingsMainController' => 'PhabricatorController',
'PhabricatorSettingsPanelAccount' => 'PhabricatorSettingsPanel',
'PhabricatorSettingsPanelActivity' => 'PhabricatorSettingsPanel',
@@ -5071,6 +5062,7 @@
'PhabricatorSetupCheckTimezone' => 'PhabricatorSetupCheck',
'PhabricatorSetupIssueExample' => 'PhabricatorUIExample',
'PhabricatorSetupIssueView' => 'AphrontView',
+ 'PhabricatorSlowvoteApplication' => 'PhabricatorApplication',
'PhabricatorSlowvoteCapabilityDefaultView' => 'PhabricatorPolicyCapability',
'PhabricatorSlowvoteChoice' => 'PhabricatorSlowvoteDAO',
'PhabricatorSlowvoteCloseController' => 'PhabricatorSlowvoteController',
@@ -5122,17 +5114,20 @@
'PhabricatorStorageManagementUpgradeWorkflow' => 'PhabricatorStorageManagementWorkflow',
'PhabricatorStorageManagementWorkflow' => 'PhabricatorManagementWorkflow',
'PhabricatorSubscribersQuery' => 'PhabricatorQuery',
+ 'PhabricatorSubscriptionsApplication' => 'PhabricatorApplication',
'PhabricatorSubscriptionsEditController' => 'PhabricatorController',
'PhabricatorSubscriptionsEditor' => 'PhabricatorEditor',
'PhabricatorSubscriptionsListController' => 'PhabricatorController',
'PhabricatorSubscriptionsTransactionController' => 'PhabricatorController',
'PhabricatorSubscriptionsUIEventListener' => 'PhabricatorEventListener',
+ 'PhabricatorSupportApplication' => 'PhabricatorApplication',
'PhabricatorSymbolNameLinter' => 'ArcanistXHPASTLintNamingHook',
'PhabricatorSyntaxHighlightingConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorSystemActionEngine' => 'Phobject',
'PhabricatorSystemActionGarbageCollector' => 'PhabricatorGarbageCollector',
'PhabricatorSystemActionLog' => 'PhabricatorSystemDAO',
'PhabricatorSystemActionRateLimitException' => 'Exception',
+ 'PhabricatorSystemApplication' => 'PhabricatorApplication',
'PhabricatorSystemDAO' => 'PhabricatorLiskDAO',
'PhabricatorSystemDestructionGarbageCollector' => 'PhabricatorGarbageCollector',
'PhabricatorSystemDestructionLog' => 'PhabricatorSystemDAO',
@@ -5142,6 +5137,7 @@
'PhabricatorSystemSelectEncodingController' => 'PhabricatorController',
'PhabricatorSystemSelectHighlightController' => 'PhabricatorController',
'PhabricatorTaskmasterDaemon' => 'PhabricatorDaemon',
+ 'PhabricatorTestApplication' => 'PhabricatorApplication',
'PhabricatorTestCase' => 'ArcanistPhutilTestCase',
'PhabricatorTestController' => 'PhabricatorController',
'PhabricatorTestStorageEngine' => 'PhabricatorFileStorageEngine',
@@ -5169,11 +5165,14 @@
'PhabricatorTokenQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorTokenReceiverQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorTokenUIEventListener' => 'PhabricatorEventListener',
+ 'PhabricatorTokensApplication' => 'PhabricatorApplication',
'PhabricatorTransactionView' => 'AphrontView',
+ 'PhabricatorTransactionsApplication' => 'PhabricatorApplication',
'PhabricatorTransformedFile' => 'PhabricatorFileDAO',
'PhabricatorTranslationsConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorTrivialTestCase' => 'PhabricatorTestCase',
'PhabricatorTwoColumnExample' => 'PhabricatorUIExample',
+ 'PhabricatorTypeaheadApplication' => 'PhabricatorApplication',
'PhabricatorTypeaheadCompositeDatasource' => 'PhabricatorTypeaheadDatasource',
'PhabricatorTypeaheadDatasource' => 'Phobject',
'PhabricatorTypeaheadDatasourceController' => 'PhabricatorController',
@@ -5184,6 +5183,7 @@
'PhabricatorTypeaheadRuntimeCompositeDatasource' => 'PhabricatorTypeaheadCompositeDatasource',
'PhabricatorUIConfigOptions' => 'PhabricatorApplicationConfigOptions',
'PhabricatorUIExampleRenderController' => 'PhabricatorController',
+ 'PhabricatorUIExamplesApplication' => 'PhabricatorApplication',
'PhabricatorUIListFilterExample' => 'PhabricatorUIExample',
'PhabricatorUINotificationExample' => 'PhabricatorUIExample',
'PhabricatorUIPagerExample' => 'PhabricatorUIExample',
@@ -5254,6 +5254,7 @@
'PhabricatorXHPASTViewRunController' => 'PhabricatorXHPASTViewController',
'PhabricatorXHPASTViewStreamController' => 'PhabricatorXHPASTViewPanelController',
'PhabricatorXHPASTViewTreeController' => 'PhabricatorXHPASTViewPanelController',
+ 'PhabricatorXHProfApplication' => 'PhabricatorApplication',
'PhabricatorXHProfController' => 'PhabricatorController',
'PhabricatorXHProfDAO' => 'PhabricatorLiskDAO',
'PhabricatorXHProfProfileController' => 'PhabricatorXHProfController',
@@ -5483,6 +5484,7 @@
2 => 'PhabricatorSubscribableInterface',
3 => 'PhabricatorFlaggableInterface',
4 => 'PhabricatorTokenReceiverInterface',
+ 5 => 'PhabricatorDestructableInterface',
),
'PhrictionDocumentController' => 'PhrictionController',
'PhrictionDocumentEditor' => 'PhabricatorEditor',
diff --git a/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php b/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
--- a/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
+++ b/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
@@ -8,9 +8,7 @@
class AphrontDefaultApplicationConfiguration
extends AphrontApplicationConfiguration {
- public function __construct() {
-
- }
+ public function __construct() {}
public function getApplicationName() {
return 'aphront-default';
@@ -172,7 +170,6 @@
}
if ($ex instanceof PhabricatorPolicyException) {
-
if (!$user->isLoggedIn()) {
// If the user isn't logged in, just give them a login form. This is
// probably a generally more useful response than a policy dialog that
@@ -182,7 +179,7 @@
// the thing you are trying to look at".
$login_controller = new PhabricatorAuthStartController($request);
- $auth_app_class = 'PhabricatorApplicationAuth';
+ $auth_app_class = 'PhabricatorAuthApplication';
$auth_app = PhabricatorApplication::getByClass($auth_app_class);
$login_controller->setCurrentApplication($auth_app);
diff --git a/src/applications/audit/application/PhabricatorApplicationAudit.php b/src/applications/audit/application/PhabricatorAuditApplication.php
rename from src/applications/audit/application/PhabricatorApplicationAudit.php
rename to src/applications/audit/application/PhabricatorAuditApplication.php
--- a/src/applications/audit/application/PhabricatorApplicationAudit.php
+++ b/src/applications/audit/application/PhabricatorAuditApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationAudit extends PhabricatorApplication {
+final class PhabricatorAuditApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/audit/';
diff --git a/src/applications/audit/conduit/ConduitAPI_audit_Method.php b/src/applications/audit/conduit/ConduitAPI_audit_Method.php
--- a/src/applications/audit/conduit/ConduitAPI_audit_Method.php
+++ b/src/applications/audit/conduit/ConduitAPI_audit_Method.php
@@ -3,7 +3,7 @@
abstract class ConduitAPI_audit_Method extends ConduitAPIMethod {
public function getApplication() {
- return PhabricatorApplication::getByClass('PhabricatorApplicationAudit');
+ return PhabricatorApplication::getByClass('PhabricatorAuditApplication');
}
}
diff --git a/src/applications/audit/mail/PhabricatorAuditMailReceiver.php b/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
--- a/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
+++ b/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
@@ -3,7 +3,7 @@
final class PhabricatorAuditMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationAudit';
+ $app_class = 'PhabricatorAuditApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/auth/application/PhabricatorApplicationAuth.php b/src/applications/auth/application/PhabricatorAuthApplication.php
rename from src/applications/auth/application/PhabricatorApplicationAuth.php
rename to src/applications/auth/application/PhabricatorAuthApplication.php
--- a/src/applications/auth/application/PhabricatorApplicationAuth.php
+++ b/src/applications/auth/application/PhabricatorAuthApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationAuth extends PhabricatorApplication {
+final class PhabricatorAuthApplication extends PhabricatorApplication {
public function canUninstall() {
return false;
diff --git a/src/applications/auth/provider/PhabricatorAuthProvider.php b/src/applications/auth/provider/PhabricatorAuthProvider.php
--- a/src/applications/auth/provider/PhabricatorAuthProvider.php
+++ b/src/applications/auth/provider/PhabricatorAuthProvider.php
@@ -93,8 +93,7 @@
throw new Exception(
pht(
"Two authentication providers use the same provider key ".
- "('%s'). Each provider must be identified by a unique ".
- "key.",
+ "('%s'). Each provider must be identified by a unique key.",
$key));
}
$providers[$key] = $object;
@@ -147,24 +146,22 @@
}
/**
- * Should we allow the adapter to be marked as "trusted"
- * This is true for all adapters except those that allow the user to type in
- * emails (@see PhabricatorAuthProviderPassword)
+ * Should we allow the adapter to be marked as "trusted". This is true for
+ * all adapters except those that allow the user to type in emails (see
+ * @{class:PhabricatorAuthProviderPassword}).
*/
public function shouldAllowEmailTrustConfiguration() {
return true;
}
- public function buildLoginForm(
- PhabricatorAuthStartController $controller) {
+ public function buildLoginForm(PhabricatorAuthStartController $controller) {
return $this->renderLoginForm($controller->getRequest(), $mode = 'start');
}
abstract public function processLoginRequest(
PhabricatorAuthLoginController $controller);
- public function buildLinkForm(
- PhabricatorAuthLinkController $controller) {
+ public function buildLinkForm(PhabricatorAuthLinkController $controller) {
return $this->renderLoginForm($controller->getRequest(), $mode = 'link');
}
@@ -177,9 +174,7 @@
return $this->renderLoginForm($controller->getRequest(), $mode = 'refresh');
}
- protected function renderLoginForm(
- AphrontRequest $request,
- $mode) {
+ protected function renderLoginForm(AphrontRequest $request, $mode) {
throw new Exception('Not implemented!');
}
@@ -197,8 +192,7 @@
protected function loadOrCreateAccount($account_id) {
if (!strlen($account_id)) {
- throw new Exception(
- 'loadOrCreateAccount(...): empty account ID!');
+ throw new Exception('loadOrCreateAccount(...): empty account ID!');
}
$adapter = $this->getAdapter();
@@ -265,14 +259,14 @@
$this->willSaveAccount($account);
$unguarded = AphrontWriteGuard::beginScopedUnguardedWrites();
- $account->save();
+ $account->save();
unset($unguarded);
return $account;
}
public function getLoginURI() {
- $app = PhabricatorApplication::getByClass('PhabricatorApplicationAuth');
+ $app = PhabricatorApplication::getByClass('PhabricatorAuthApplication');
return $app->getApplicationURI('/login/'.$this->getProviderKey().'/');
}
@@ -281,7 +275,7 @@
}
public function getStartURI() {
- $app = PhabricatorApplication::getByClass('PhabricatorApplicationAuth');
+ $app = PhabricatorApplication::getByClass('PhabricatorAuthApplication');
$uri = $app->getApplicationURI('/start/');
return $uri;
}
@@ -339,6 +333,7 @@
AphrontFormView $form,
array $values,
array $issues) {
+
return;
}
@@ -360,7 +355,6 @@
$account_view));
}
-
/**
* Return true to use a two-step configuration (setup, configure) instead of
* the default single-step configuration. In practice, this means that
@@ -373,7 +367,6 @@
return false;
}
-
/**
* Render a standard login/register button element.
*
diff --git a/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php b/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php
--- a/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthProviderConfigQuery.php
@@ -97,7 +97,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationAuth';
+ return 'PhabricatorAuthApplication';
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthSessionQuery.php b/src/applications/auth/query/PhabricatorAuthSessionQuery.php
--- a/src/applications/auth/query/PhabricatorAuthSessionQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthSessionQuery.php
@@ -106,7 +106,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationAuth';
+ return 'PhabricatorAuthApplication';
}
}
diff --git a/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php b/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php
--- a/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php
+++ b/src/applications/auth/query/PhabricatorAuthTemporaryTokenQuery.php
@@ -100,7 +100,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationAuth';
+ return 'PhabricatorAuthApplication';
}
}
diff --git a/src/applications/auth/query/PhabricatorExternalAccountQuery.php b/src/applications/auth/query/PhabricatorExternalAccountQuery.php
--- a/src/applications/auth/query/PhabricatorExternalAccountQuery.php
+++ b/src/applications/auth/query/PhabricatorExternalAccountQuery.php
@@ -174,7 +174,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
/**
diff --git a/src/applications/base/controller/PhabricatorController.php b/src/applications/base/controller/PhabricatorController.php
--- a/src/applications/base/controller/PhabricatorController.php
+++ b/src/applications/base/controller/PhabricatorController.php
@@ -159,7 +159,7 @@
return $this->delegateToController($checker_controller);
}
- $auth_class = 'PhabricatorApplicationAuth';
+ $auth_class = 'PhabricatorAuthApplication';
$auth_application = PhabricatorApplication::getByClass($auth_class);
// Require partial sessions to finish login before doing anything.
diff --git a/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php b/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php
--- a/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php
+++ b/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php
@@ -1,7 +1,6 @@
<?php
-final class PhabricatorAccessControlTestCase
- extends PhabricatorTestCase {
+final class PhabricatorAccessControlTestCase extends PhabricatorTestCase {
protected function getPhabricatorTestCaseConfiguration() {
return array(
@@ -201,7 +200,7 @@
$env->overrideEnvConfig('policy.allow-public', false);
- $app = PhabricatorApplication::getByClass('PhabricatorApplicationTest');
+ $app = PhabricatorApplication::getByClass('PhabricatorTestApplication');
$app->reset();
$app->setPolicy(
PhabricatorPolicyCapability::CAN_VIEW,
diff --git a/src/applications/base/controller/__tests__/PhabricatorApplicationTest.php b/src/applications/base/controller/__tests__/PhabricatorTestApplication.php
rename from src/applications/base/controller/__tests__/PhabricatorApplicationTest.php
rename to src/applications/base/controller/__tests__/PhabricatorTestApplication.php
--- a/src/applications/base/controller/__tests__/PhabricatorApplicationTest.php
+++ b/src/applications/base/controller/__tests__/PhabricatorTestApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationTest extends PhabricatorApplication {
+final class PhabricatorTestApplication extends PhabricatorApplication {
private $policies = array();
@@ -30,8 +30,7 @@
}
public function getRoutes() {
- return array(
- );
+ return array();
}
}
diff --git a/src/applications/calendar/application/PhabricatorApplicationCalendar.php b/src/applications/calendar/application/PhabricatorCalendarApplication.php
rename from src/applications/calendar/application/PhabricatorApplicationCalendar.php
rename to src/applications/calendar/application/PhabricatorCalendarApplication.php
--- a/src/applications/calendar/application/PhabricatorApplicationCalendar.php
+++ b/src/applications/calendar/application/PhabricatorCalendarApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationCalendar extends PhabricatorApplication {
+final class PhabricatorCalendarApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('Upcoming Events');
diff --git a/src/applications/calendar/query/PhabricatorCalendarEventQuery.php b/src/applications/calendar/query/PhabricatorCalendarEventQuery.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventQuery.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventQuery.php
@@ -105,7 +105,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationCalendar';
+ return 'PhabricatorCalendarApplication';
}
}
diff --git a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationCalendar';
+ return 'PhabricatorCalendarApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/chatlog/applications/PhabricatorApplicationChatLog.php b/src/applications/chatlog/application/PhabricatorChatLogApplication.php
rename from src/applications/chatlog/applications/PhabricatorApplicationChatLog.php
rename to src/applications/chatlog/application/PhabricatorChatLogApplication.php
--- a/src/applications/chatlog/applications/PhabricatorApplicationChatLog.php
+++ b/src/applications/chatlog/application/PhabricatorChatLogApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationChatLog extends PhabricatorApplication {
+final class PhabricatorChatLogApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/chatlog/';
@@ -29,11 +29,10 @@
public function getRoutes() {
return array(
'/chatlog/' => array(
- '' => 'PhabricatorChatLogChannelListController',
+ '' => 'PhabricatorChatLogChannelListController',
'channel/(?P<channelID>[^/]+)/' =>
'PhabricatorChatLogChannelLogController',
),
-
);
}
diff --git a/src/applications/chatlog/conduit/ConduitAPI_chatlog_Method.php b/src/applications/chatlog/conduit/ConduitAPI_chatlog_Method.php
--- a/src/applications/chatlog/conduit/ConduitAPI_chatlog_Method.php
+++ b/src/applications/chatlog/conduit/ConduitAPI_chatlog_Method.php
@@ -3,7 +3,7 @@
abstract class ConduitAPI_chatlog_Method extends ConduitAPIMethod {
public function getApplication() {
- return PhabricatorApplication::getByClass('PhabricatorApplicationChatLog');
+ return PhabricatorApplication::getByClass('PhabricatorChatLogApplication');
}
}
diff --git a/src/applications/chatlog/query/PhabricatorChatLogChannelQuery.php b/src/applications/chatlog/query/PhabricatorChatLogChannelQuery.php
--- a/src/applications/chatlog/query/PhabricatorChatLogChannelQuery.php
+++ b/src/applications/chatlog/query/PhabricatorChatLogChannelQuery.php
@@ -57,7 +57,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationChatLog';
+ return 'PhabricatorChatLogApplication';
}
}
diff --git a/src/applications/chatlog/query/PhabricatorChatLogQuery.php b/src/applications/chatlog/query/PhabricatorChatLogQuery.php
--- a/src/applications/chatlog/query/PhabricatorChatLogQuery.php
+++ b/src/applications/chatlog/query/PhabricatorChatLogQuery.php
@@ -78,7 +78,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationChatLog';
+ return 'PhabricatorChatLogApplication';
}
}
diff --git a/src/applications/conduit/application/PhabricatorApplicationConduit.php b/src/applications/conduit/application/PhabricatorConduitApplication.php
rename from src/applications/conduit/application/PhabricatorApplicationConduit.php
rename to src/applications/conduit/application/PhabricatorConduitApplication.php
--- a/src/applications/conduit/application/PhabricatorApplicationConduit.php
+++ b/src/applications/conduit/application/PhabricatorConduitApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationConduit extends PhabricatorApplication {
+final class PhabricatorConduitApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/conduit/';
diff --git a/src/applications/conduit/query/PhabricatorConduitLogQuery.php b/src/applications/conduit/query/PhabricatorConduitLogQuery.php
--- a/src/applications/conduit/query/PhabricatorConduitLogQuery.php
+++ b/src/applications/conduit/query/PhabricatorConduitLogQuery.php
@@ -41,7 +41,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationConduit';
+ return 'PhabricatorConduitApplication';
}
}
diff --git a/src/applications/conduit/query/PhabricatorConduitMethodQuery.php b/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
--- a/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
+++ b/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
@@ -122,7 +122,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationConduit';
+ return 'PhabricatorConduitApplication';
}
}
diff --git a/src/applications/conduit/query/PhabricatorConduitSearchEngine.php b/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
--- a/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
+++ b/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationConduit';
+ return 'PhabricatorConduitApplication';
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/config/application/PhabricatorApplicationConfig.php b/src/applications/config/application/PhabricatorConfigApplication.php
rename from src/applications/config/application/PhabricatorApplicationConfig.php
rename to src/applications/config/application/PhabricatorConfigApplication.php
--- a/src/applications/config/application/PhabricatorApplicationConfig.php
+++ b/src/applications/config/application/PhabricatorConfigApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationConfig extends PhabricatorApplication {
+final class PhabricatorConfigApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/config/';
@@ -33,13 +33,13 @@
public function getRoutes() {
return array(
'/config/' => array(
- '' => 'PhabricatorConfigListController',
- 'all/' => 'PhabricatorConfigAllController',
- 'edit/(?P<key>[\w\.\-]+)/' => 'PhabricatorConfigEditController',
- 'group/(?P<key>[^/]+)/' => 'PhabricatorConfigGroupController',
+ '' => 'PhabricatorConfigListController',
+ 'all/' => 'PhabricatorConfigAllController',
+ 'edit/(?P<key>[\w\.\-]+)/' => 'PhabricatorConfigEditController',
+ 'group/(?P<key>[^/]+)/' => 'PhabricatorConfigGroupController',
'welcome/' => 'PhabricatorConfigWelcomeController',
- '(?P<verb>ignore|unignore)/(?P<key>[^/]+)/'
- => 'PhabricatorConfigIgnoreController',
+ '(?P<verb>ignore|unignore)/(?P<key>[^/]+)/' =>
+ 'PhabricatorConfigIgnoreController',
'issue/' => array(
'' => 'PhabricatorConfigIssueListController',
'(?P<key>[^/]+)/' => 'PhabricatorConfigIssueViewController',
diff --git a/src/applications/config/controller/PhabricatorConfigWelcomeController.php b/src/applications/config/controller/PhabricatorConfigWelcomeController.php
--- a/src/applications/config/controller/PhabricatorConfigWelcomeController.php
+++ b/src/applications/config/controller/PhabricatorConfigWelcomeController.php
@@ -157,8 +157,8 @@
$dashboard_href = PhabricatorEnv::getURI('/dashboard/');
$have_dashboard = (bool)PhabricatorDashboardInstall::getDashboard(
$viewer,
- PhabricatorApplicationHome::DASHBOARD_DEFAULT,
- 'PhabricatorApplicationHome');
+ PhabricatorHomeApplication::DASHBOARD_DEFAULT,
+ 'PhabricatorHomeApplication');
if ($have_dashboard) {
$content = pht(
"You've installed a default dashboard to replace this welcome screen ".
diff --git a/src/applications/config/query/PhabricatorConfigEntryQuery.php b/src/applications/config/query/PhabricatorConfigEntryQuery.php
--- a/src/applications/config/query/PhabricatorConfigEntryQuery.php
+++ b/src/applications/config/query/PhabricatorConfigEntryQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationConfig';
+ return 'PhabricatorConfigApplication';
}
}
diff --git a/src/applications/conpherence/application/PhabricatorApplicationConpherence.php b/src/applications/conpherence/application/PhabricatorConpherenceApplication.php
rename from src/applications/conpherence/application/PhabricatorApplicationConpherence.php
rename to src/applications/conpherence/application/PhabricatorConpherenceApplication.php
--- a/src/applications/conpherence/application/PhabricatorApplicationConpherence.php
+++ b/src/applications/conpherence/application/PhabricatorConpherenceApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationConpherence extends PhabricatorApplication {
+final class PhabricatorConpherenceApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/conpherence/';
@@ -52,5 +52,4 @@
return $items;
}
-
}
diff --git a/src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php b/src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php
--- a/src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php
+++ b/src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationConpherence');
+ 'PhabricatorConpherenceApplication');
}
final protected function getConpherenceURI(ConpherenceThread $conpherence) {
diff --git a/src/applications/conpherence/mail/ConpherenceCreateThreadMailReceiver.php b/src/applications/conpherence/mail/ConpherenceCreateThreadMailReceiver.php
--- a/src/applications/conpherence/mail/ConpherenceCreateThreadMailReceiver.php
+++ b/src/applications/conpherence/mail/ConpherenceCreateThreadMailReceiver.php
@@ -4,7 +4,7 @@
extends PhabricatorMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationConpherence';
+ $app_class = 'PhabricatorConpherenceApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php b/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php
--- a/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php
+++ b/src/applications/conpherence/mail/ConpherenceThreadMailReceiver.php
@@ -4,7 +4,7 @@
extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationConpherence';
+ $app_class = 'PhabricatorConpherenceApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/conpherence/query/ConpherenceThreadQuery.php b/src/applications/conpherence/query/ConpherenceThreadQuery.php
--- a/src/applications/conpherence/query/ConpherenceThreadQuery.php
+++ b/src/applications/conpherence/query/ConpherenceThreadQuery.php
@@ -288,7 +288,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationConpherence';
+ return 'PhabricatorConpherenceApplication';
}
}
diff --git a/src/applications/countdown/application/PhabricatorApplicationCountdown.php b/src/applications/countdown/application/PhabricatorCountdownApplication.php
rename from src/applications/countdown/application/PhabricatorApplicationCountdown.php
rename to src/applications/countdown/application/PhabricatorCountdownApplication.php
--- a/src/applications/countdown/application/PhabricatorApplicationCountdown.php
+++ b/src/applications/countdown/application/PhabricatorCountdownApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationCountdown extends PhabricatorApplication {
+final class PhabricatorCountdownApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/countdown/';
diff --git a/src/applications/countdown/query/PhabricatorCountdownQuery.php b/src/applications/countdown/query/PhabricatorCountdownQuery.php
--- a/src/applications/countdown/query/PhabricatorCountdownQuery.php
+++ b/src/applications/countdown/query/PhabricatorCountdownQuery.php
@@ -82,7 +82,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationCountdown';
+ return 'PhabricatorCountdownApplication';
}
}
diff --git a/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php b/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
--- a/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
+++ b/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationCountdown';
+ return 'PhabricatorCountdownApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/countdown/storage/PhabricatorCountdown.php b/src/applications/countdown/storage/PhabricatorCountdown.php
--- a/src/applications/countdown/storage/PhabricatorCountdown.php
+++ b/src/applications/countdown/storage/PhabricatorCountdown.php
@@ -12,7 +12,7 @@
public static function initializeNewCountdown(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationCountdown'))
+ ->withClasses(array('PhabricatorCountdownApplication'))
->executeOne();
$view_policy = $app->getPolicy(
diff --git a/src/applications/daemon/application/PhabricatorApplicationDaemons.php b/src/applications/daemon/application/PhabricatorDaemonsApplication.php
rename from src/applications/daemon/application/PhabricatorApplicationDaemons.php
rename to src/applications/daemon/application/PhabricatorDaemonsApplication.php
--- a/src/applications/daemon/application/PhabricatorApplicationDaemons.php
+++ b/src/applications/daemon/application/PhabricatorDaemonsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDaemons extends PhabricatorApplication {
+final class PhabricatorDaemonsApplication extends PhabricatorApplication {
public function getName() {
return pht('Daemons');
diff --git a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
--- a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
+++ b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
@@ -167,7 +167,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDaemons';
+ return 'PhabricatorDaemonsApplication';
}
}
diff --git a/src/applications/dashboard/application/PhabricatorApplicationDashboard.php b/src/applications/dashboard/application/PhabricatorDashboardApplication.php
rename from src/applications/dashboard/application/PhabricatorApplicationDashboard.php
rename to src/applications/dashboard/application/PhabricatorDashboardApplication.php
--- a/src/applications/dashboard/application/PhabricatorApplicationDashboard.php
+++ b/src/applications/dashboard/application/PhabricatorDashboardApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDashboard extends PhabricatorApplication {
+final class PhabricatorDashboardApplication extends PhabricatorApplication {
public function getName() {
return pht('Dashboards');
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardInstallController.php b/src/applications/dashboard/controller/PhabricatorDashboardInstallController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardInstallController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardInstallController.php
@@ -24,7 +24,7 @@
$object_phid = $request->getStr('objectPHID', $viewer->getPHID());
switch ($object_phid) {
- case PhabricatorApplicationHome::DASHBOARD_DEFAULT:
+ case PhabricatorHomeApplication::DASHBOARD_DEFAULT:
if (!$viewer->getIsAdmin()) {
return new Aphront404Response();
}
@@ -48,7 +48,7 @@
$installer_phid = $viewer->getPHID();
$application_class = $request->getStr(
'applicationClass',
- 'PhabricatorApplicationHome');
+ 'PhabricatorHomeApplication');
$handles = $this->loadHandles(array(
$object_phid,
@@ -80,7 +80,7 @@
->addSubmitButton(pht('Install Dashboard'));
switch ($application_class) {
- case 'PhabricatorApplicationHome':
+ case 'PhabricatorHomeApplication':
if ($viewer->getPHID() == $object_phid) {
if ($viewer->getIsAdmin()) {
$dialog->setWidth(AphrontDialogView::WIDTH_FORM);
@@ -92,9 +92,9 @@
->appendChild(
id(new AphrontFormRadioButtonControl())
->setName('objectPHID')
- ->setValue(PhabricatorApplicationHome::DASHBOARD_DEFAULT)
+ ->setValue(PhabricatorHomeApplication::DASHBOARD_DEFAULT)
->addButton(
- PhabricatorApplicationHome::DASHBOARD_DEFAULT,
+ PhabricatorHomeApplication::DASHBOARD_DEFAULT,
pht('Default Dashboard for All Users'),
pht(
'Install this dashboard as the global default dashboard '.
@@ -137,7 +137,7 @@
private function getCancelURI($application_class, $object_phid) {
$uri = null;
switch ($application_class) {
- case 'PhabricatorApplicationHome':
+ case 'PhabricatorHomeApplication':
$uri = '/dashboard/view/'.$this->id.'/';
break;
}
@@ -147,7 +147,7 @@
private function getRedirectURI($application_class, $object_phid) {
$uri = null;
switch ($application_class) {
- case 'PhabricatorApplicationHome':
+ case 'PhabricatorHomeApplication':
$uri = '/';
break;
}
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardManageController.php b/src/applications/dashboard/controller/PhabricatorDashboardManageController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardManageController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardManageController.php
@@ -125,7 +125,7 @@
->loadOneWhere(
'objectPHID = %s AND applicationClass = %s',
$viewer->getPHID(),
- 'PhabricatorApplicationHome');
+ 'PhabricatorHomeApplication');
if ($installed_dashboard &&
$installed_dashboard->getDashboardPHID() == $dashboard->getPHID()) {
$title_install = pht('Uninstall Dashboard');
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardUninstallController.php b/src/applications/dashboard/controller/PhabricatorDashboardUninstallController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardUninstallController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardUninstallController.php
@@ -38,7 +38,7 @@
$application_class = $request->getStr(
'applicationClass',
- 'PhabricatorApplicationHome');
+ 'PhabricatorHomeApplication');
$dashboard_install = id(new PhabricatorDashboardInstall())
->loadOneWhere(
@@ -85,7 +85,7 @@
$body = array();
switch ($application_class) {
- case 'PhabricatorApplicationHome':
+ case 'PhabricatorHomeApplication':
if ($installer_phid == $object_phid) {
$body[] = phutil_tag(
'p',
@@ -116,7 +116,7 @@
private function getCancelURI($application_class, $object_phid) {
$uri = null;
switch ($application_class) {
- case 'PhabricatorApplicationHome':
+ case 'PhabricatorHomeApplication':
$uri = '/dashboard/view/'.$this->id.'/';
break;
}
@@ -126,7 +126,7 @@
private function getRedirectURI($application_class, $object_phid) {
$uri = null;
switch ($application_class) {
- case 'PhabricatorApplicationHome':
+ case 'PhabricatorHomeApplication':
$uri = '/';
break;
}
diff --git a/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php b/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php
--- a/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardPanelQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDashboard';
+ return 'PhabricatorDashboardApplication';
}
}
diff --git a/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php b/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php
--- a/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardPanelSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDashboard';
+ return 'PhabricatorDashboardApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/dashboard/query/PhabricatorDashboardQuery.php b/src/applications/dashboard/query/PhabricatorDashboardQuery.php
--- a/src/applications/dashboard/query/PhabricatorDashboardQuery.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardQuery.php
@@ -96,7 +96,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDashboard';
+ return 'PhabricatorDashboardApplication';
}
}
diff --git a/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php b/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
--- a/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
+++ b/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDashboard';
+ return 'PhabricatorDashboardApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/differential/application/PhabricatorApplicationDifferential.php b/src/applications/differential/application/PhabricatorDifferentialApplication.php
rename from src/applications/differential/application/PhabricatorApplicationDifferential.php
rename to src/applications/differential/application/PhabricatorDifferentialApplication.php
--- a/src/applications/differential/application/PhabricatorApplicationDifferential.php
+++ b/src/applications/differential/application/PhabricatorDifferentialApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDifferential extends PhabricatorApplication {
+final class PhabricatorDifferentialApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/differential/';
diff --git a/src/applications/differential/conduit/ConduitAPI_differential_Method.php b/src/applications/differential/conduit/ConduitAPI_differential_Method.php
--- a/src/applications/differential/conduit/ConduitAPI_differential_Method.php
+++ b/src/applications/differential/conduit/ConduitAPI_differential_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_differential_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationDifferential');
+ 'PhabricatorDifferentialApplication');
}
protected function buildDiffInfoDictionary(DifferentialDiff $diff) {
diff --git a/src/applications/differential/controller/DifferentialRevisionViewController.php b/src/applications/differential/controller/DifferentialRevisionViewController.php
--- a/src/applications/differential/controller/DifferentialRevisionViewController.php
+++ b/src/applications/differential/controller/DifferentialRevisionViewController.php
@@ -519,7 +519,7 @@
->setWorkflow(true)
->setDisabled(!$can_edit);
- $maniphest = 'PhabricatorApplicationManiphest';
+ $maniphest = 'PhabricatorManiphestApplication';
if (PhabricatorApplication::isClassInstalled($maniphest)) {
$actions[] = id(new PhabricatorActionView())
->setIcon('fa-anchor')
diff --git a/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php b/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php
--- a/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php
+++ b/src/applications/differential/customfield/DifferentialRequiredSignaturesField.php
@@ -28,7 +28,7 @@
}
public static function loadForRevision($revision) {
- $app_legalpad = 'PhabricatorApplicationLegalpad';
+ $app_legalpad = 'PhabricatorLegalpadApplication';
if (!PhabricatorApplication::isClassInstalled($app_legalpad)) {
return array();
}
diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -350,7 +350,7 @@
// "T123" or similar, automatically associate the commit with the
// task that the branch names.
- $maniphest = 'PhabricatorApplicationManiphest';
+ $maniphest = 'PhabricatorManiphestApplication';
if (PhabricatorApplication::isClassInstalled($maniphest)) {
$diff = $this->requireDiff($xaction->getNewValue());
$branch = $diff->getBranch();
diff --git a/src/applications/differential/mail/DifferentialRevisionMailReceiver.php b/src/applications/differential/mail/DifferentialRevisionMailReceiver.php
--- a/src/applications/differential/mail/DifferentialRevisionMailReceiver.php
+++ b/src/applications/differential/mail/DifferentialRevisionMailReceiver.php
@@ -4,7 +4,7 @@
extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationDifferential';
+ $app_class = 'PhabricatorDifferentialApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/differential/phid/DifferentialPHIDTypeRevision.php b/src/applications/differential/phid/DifferentialPHIDTypeRevision.php
--- a/src/applications/differential/phid/DifferentialPHIDTypeRevision.php
+++ b/src/applications/differential/phid/DifferentialPHIDTypeRevision.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
public function newObject() {
diff --git a/src/applications/differential/query/DifferentialChangesetQuery.php b/src/applications/differential/query/DifferentialChangesetQuery.php
--- a/src/applications/differential/query/DifferentialChangesetQuery.php
+++ b/src/applications/differential/query/DifferentialChangesetQuery.php
@@ -148,7 +148,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
protected function getReversePaging() {
diff --git a/src/applications/differential/query/DifferentialDiffQuery.php b/src/applications/differential/query/DifferentialDiffQuery.php
--- a/src/applications/differential/query/DifferentialDiffQuery.php
+++ b/src/applications/differential/query/DifferentialDiffQuery.php
@@ -151,7 +151,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
}
diff --git a/src/applications/differential/query/DifferentialHunkQuery.php b/src/applications/differential/query/DifferentialHunkQuery.php
--- a/src/applications/differential/query/DifferentialHunkQuery.php
+++ b/src/applications/differential/query/DifferentialHunkQuery.php
@@ -110,7 +110,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
protected function getReversePaging() {
diff --git a/src/applications/differential/query/DifferentialRevisionQuery.php b/src/applications/differential/query/DifferentialRevisionQuery.php
--- a/src/applications/differential/query/DifferentialRevisionQuery.php
+++ b/src/applications/differential/query/DifferentialRevisionQuery.php
@@ -1164,7 +1164,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
}
diff --git a/src/applications/differential/query/DifferentialRevisionSearchEngine.php b/src/applications/differential/query/DifferentialRevisionSearchEngine.php
--- a/src/applications/differential/query/DifferentialRevisionSearchEngine.php
+++ b/src/applications/differential/query/DifferentialRevisionSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/differential/storage/DifferentialRevision.php b/src/applications/differential/storage/DifferentialRevision.php
--- a/src/applications/differential/storage/DifferentialRevision.php
+++ b/src/applications/differential/storage/DifferentialRevision.php
@@ -53,7 +53,7 @@
public static function initializeNewRevision(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationDifferential'))
+ ->withClasses(array('PhabricatorDifferentialApplication'))
->executeOne();
$view_policy = $app->getPolicy(
diff --git a/src/applications/diffusion/application/PhabricatorApplicationDiffusion.php b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php
rename from src/applications/diffusion/application/PhabricatorApplicationDiffusion.php
rename to src/applications/diffusion/application/PhabricatorDiffusionApplication.php
--- a/src/applications/diffusion/application/PhabricatorApplicationDiffusion.php
+++ b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDiffusion extends PhabricatorApplication {
+final class PhabricatorDiffusionApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('Host and Browse Repositories');
@@ -126,13 +126,11 @@
protected function getCustomCapabilities() {
return array(
- DiffusionCapabilityDefaultView::CAPABILITY => array(
- ),
+ DiffusionCapabilityDefaultView::CAPABILITY => array(),
DiffusionCapabilityDefaultEdit::CAPABILITY => array(
'default' => PhabricatorPolicies::POLICY_ADMIN,
),
- DiffusionCapabilityDefaultPush::CAPABILITY => array(
- ),
+ DiffusionCapabilityDefaultPush::CAPABILITY => array(),
DiffusionCapabilityCreateRepositories::CAPABILITY => array(
'default' => PhabricatorPolicies::POLICY_ADMIN,
),
diff --git a/src/applications/diffusion/conduit/ConduitAPI_diffusion_Method.php b/src/applications/diffusion/conduit/ConduitAPI_diffusion_Method.php
--- a/src/applications/diffusion/conduit/ConduitAPI_diffusion_Method.php
+++ b/src/applications/diffusion/conduit/ConduitAPI_diffusion_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_diffusion_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationDiffusion');
+ 'PhabricatorDiffusionApplication');
}
}
diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php
--- a/src/applications/diffusion/controller/DiffusionBrowseController.php
+++ b/src/applications/diffusion/controller/DiffusionBrowseController.php
@@ -112,7 +112,7 @@
// TODO: Ideally, this should live in Owners and be event-triggered, but
// there's no reasonable object for it to react to right now.
- $owners = 'PhabricatorApplicationOwners';
+ $owners = 'PhabricatorOwnersApplication';
if (PhabricatorApplication::isClassInstalled($owners)) {
$owners_uri = id(new PhutilURI('/owners/view/search/'))
->setQueryParams(
diff --git a/src/applications/diffusion/controller/DiffusionCommitController.php b/src/applications/diffusion/controller/DiffusionCommitController.php
--- a/src/applications/diffusion/controller/DiffusionCommitController.php
+++ b/src/applications/diffusion/controller/DiffusionCommitController.php
@@ -999,7 +999,7 @@
require_celerity_resource('phabricator-object-selector-css');
require_celerity_resource('javelin-behavior-phabricator-object-selector');
- $maniphest = 'PhabricatorApplicationManiphest';
+ $maniphest = 'PhabricatorManiphestApplication';
if (PhabricatorApplication::isClassInstalled($maniphest)) {
$action = id(new PhabricatorActionView())
->setName(pht('Edit Maniphest Tasks'))
diff --git a/src/applications/diffusion/herald/HeraldPreCommitAdapter.php b/src/applications/diffusion/herald/HeraldPreCommitAdapter.php
--- a/src/applications/diffusion/herald/HeraldPreCommitAdapter.php
+++ b/src/applications/diffusion/herald/HeraldPreCommitAdapter.php
@@ -21,7 +21,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function getObject() {
diff --git a/src/applications/diffusion/query/DiffusionCommitQuery.php b/src/applications/diffusion/query/DiffusionCommitQuery.php
--- a/src/applications/diffusion/query/DiffusionCommitQuery.php
+++ b/src/applications/diffusion/query/DiffusionCommitQuery.php
@@ -508,7 +508,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
}
diff --git a/src/applications/diffusion/typeahead/DiffusionArcanistProjectDatasource.php b/src/applications/diffusion/typeahead/DiffusionArcanistProjectDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionArcanistProjectDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionArcanistProjectDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function loadResults() {
diff --git a/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php b/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionAuditorDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function getComponentDatasources() {
diff --git a/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php b/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function loadResults() {
diff --git a/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php b/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionSymbolDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function loadResults() {
diff --git a/src/applications/diffusion/view/DiffusionHistoryTableView.php b/src/applications/diffusion/view/DiffusionHistoryTableView.php
--- a/src/applications/diffusion/view/DiffusionHistoryTableView.php
+++ b/src/applications/diffusion/view/DiffusionHistoryTableView.php
@@ -95,7 +95,7 @@
}
$show_builds = PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationHarbormaster',
+ 'PhabricatorHarbormasterApplication',
$this->getUser());
$rows = array();
diff --git a/src/applications/diviner/application/PhabricatorApplicationDiviner.php b/src/applications/diviner/application/PhabricatorDivinerApplication.php
rename from src/applications/diviner/application/PhabricatorApplicationDiviner.php
rename to src/applications/diviner/application/PhabricatorDivinerApplication.php
--- a/src/applications/diviner/application/PhabricatorApplicationDiviner.php
+++ b/src/applications/diviner/application/PhabricatorDivinerApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDiviner extends PhabricatorApplication {
+final class PhabricatorDivinerApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/diviner/';
diff --git a/src/applications/diviner/query/DivinerAtomQuery.php b/src/applications/diviner/query/DivinerAtomQuery.php
--- a/src/applications/diviner/query/DivinerAtomQuery.php
+++ b/src/applications/diviner/query/DivinerAtomQuery.php
@@ -443,7 +443,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiviner';
+ return 'PhabricatorDivinerApplication';
}
}
diff --git a/src/applications/diviner/query/DivinerAtomSearchEngine.php b/src/applications/diviner/query/DivinerAtomSearchEngine.php
--- a/src/applications/diviner/query/DivinerAtomSearchEngine.php
+++ b/src/applications/diviner/query/DivinerAtomSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDiviner';
+ return 'PhabricatorDivinerApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/diviner/query/DivinerBookQuery.php b/src/applications/diviner/query/DivinerBookQuery.php
--- a/src/applications/diviner/query/DivinerBookQuery.php
+++ b/src/applications/diviner/query/DivinerBookQuery.php
@@ -68,7 +68,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiviner';
+ return 'PhabricatorDivinerApplication';
}
}
diff --git a/src/applications/doorkeeper/application/PhabricatorApplicationDoorkeeper.php b/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php
rename from src/applications/doorkeeper/application/PhabricatorApplicationDoorkeeper.php
rename to src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php
--- a/src/applications/doorkeeper/application/PhabricatorApplicationDoorkeeper.php
+++ b/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDoorkeeper extends PhabricatorApplication {
+final class PhabricatorDoorkeeperApplication extends PhabricatorApplication {
public function canUninstall() {
return false;
diff --git a/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php b/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
--- a/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
+++ b/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
@@ -53,7 +53,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDoorkeeper';
+ return 'PhabricatorDoorkeeperApplication';
}
}
diff --git a/src/applications/drydock/application/PhabricatorApplicationDrydock.php b/src/applications/drydock/application/PhabricatorDrydockApplication.php
rename from src/applications/drydock/application/PhabricatorApplicationDrydock.php
rename to src/applications/drydock/application/PhabricatorDrydockApplication.php
--- a/src/applications/drydock/application/PhabricatorApplicationDrydock.php
+++ b/src/applications/drydock/application/PhabricatorDrydockApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationDrydock extends PhabricatorApplication {
+final class PhabricatorDrydockApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/drydock/';
@@ -63,8 +63,7 @@
protected function getCustomCapabilities() {
return array(
- DrydockCapabilityDefaultView::CAPABILITY => array(
- ),
+ DrydockCapabilityDefaultView::CAPABILITY => array(),
DrydockCapabilityDefaultEdit::CAPABILITY => array(
'default' => PhabricatorPolicies::POLICY_ADMIN,
),
@@ -74,5 +73,4 @@
);
}
-
}
diff --git a/src/applications/drydock/query/DrydockBlueprintSearchEngine.php b/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
--- a/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
+++ b/src/applications/drydock/query/DrydockBlueprintSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDrydock';
+ return 'PhabricatorDrydockApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/drydock/query/DrydockLeaseSearchEngine.php b/src/applications/drydock/query/DrydockLeaseSearchEngine.php
--- a/src/applications/drydock/query/DrydockLeaseSearchEngine.php
+++ b/src/applications/drydock/query/DrydockLeaseSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDrydock';
+ return 'PhabricatorDrydockApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/drydock/query/DrydockLogSearchEngine.php b/src/applications/drydock/query/DrydockLogSearchEngine.php
--- a/src/applications/drydock/query/DrydockLogSearchEngine.php
+++ b/src/applications/drydock/query/DrydockLogSearchEngine.php
@@ -1,14 +1,13 @@
<?php
-final class DrydockLogSearchEngine
- extends PhabricatorApplicationSearchEngine {
+final class DrydockLogSearchEngine extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Drydock Logs');
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDrydock';
+ return 'PhabricatorDrydockApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/drydock/query/DrydockQuery.php b/src/applications/drydock/query/DrydockQuery.php
--- a/src/applications/drydock/query/DrydockQuery.php
+++ b/src/applications/drydock/query/DrydockQuery.php
@@ -1,10 +1,9 @@
<?php
-abstract class DrydockQuery
- extends PhabricatorCursorPagedPolicyAwareQuery {
+abstract class DrydockQuery extends PhabricatorCursorPagedPolicyAwareQuery {
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDrydock';
+ return 'PhabricatorDrydockApplication';
}
}
diff --git a/src/applications/drydock/query/DrydockResourceSearchEngine.php b/src/applications/drydock/query/DrydockResourceSearchEngine.php
--- a/src/applications/drydock/query/DrydockResourceSearchEngine.php
+++ b/src/applications/drydock/query/DrydockResourceSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDrydock';
+ return 'PhabricatorDrydockApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/drydock/storage/DrydockBlueprint.php b/src/applications/drydock/storage/DrydockBlueprint.php
--- a/src/applications/drydock/storage/DrydockBlueprint.php
+++ b/src/applications/drydock/storage/DrydockBlueprint.php
@@ -14,7 +14,7 @@
public static function initializeNewBlueprint(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationDrydock'))
+ ->withClasses(array('PhabricatorDrydockApplication'))
->executeOne();
$view_policy = $app->getPolicy(
diff --git a/src/applications/fact/application/PhabricatorApplicationFact.php b/src/applications/fact/application/PhabricatorFactApplication.php
rename from src/applications/fact/application/PhabricatorApplicationFact.php
rename to src/applications/fact/application/PhabricatorFactApplication.php
--- a/src/applications/fact/application/PhabricatorApplicationFact.php
+++ b/src/applications/fact/application/PhabricatorFactApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationFact extends PhabricatorApplication {
+final class PhabricatorFactApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('Chart and Analyze Data');
diff --git a/src/applications/feed/application/PhabricatorApplicationFeed.php b/src/applications/feed/application/PhabricatorFeedApplication.php
rename from src/applications/feed/application/PhabricatorApplicationFeed.php
rename to src/applications/feed/application/PhabricatorFeedApplication.php
--- a/src/applications/feed/application/PhabricatorApplicationFeed.php
+++ b/src/applications/feed/application/PhabricatorFeedApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationFeed extends PhabricatorApplication {
+final class PhabricatorFeedApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/feed/';
diff --git a/src/applications/feed/conduit/ConduitAPI_feed_Method.php b/src/applications/feed/conduit/ConduitAPI_feed_Method.php
--- a/src/applications/feed/conduit/ConduitAPI_feed_Method.php
+++ b/src/applications/feed/conduit/ConduitAPI_feed_Method.php
@@ -2,9 +2,8 @@
abstract class ConduitAPI_feed_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationFeed');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorFeedApplication');
}
}
diff --git a/src/applications/feed/query/PhabricatorFeedQuery.php b/src/applications/feed/query/PhabricatorFeedQuery.php
--- a/src/applications/feed/query/PhabricatorFeedQuery.php
+++ b/src/applications/feed/query/PhabricatorFeedQuery.php
@@ -106,7 +106,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationFeed';
+ return 'PhabricatorFeedApplication';
}
}
diff --git a/src/applications/files/application/PhabricatorApplicationFiles.php b/src/applications/files/application/PhabricatorFilesApplication.php
rename from src/applications/files/application/PhabricatorApplicationFiles.php
rename to src/applications/files/application/PhabricatorFilesApplication.php
--- a/src/applications/files/application/PhabricatorApplicationFiles.php
+++ b/src/applications/files/application/PhabricatorFilesApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationFiles extends PhabricatorApplication {
+final class PhabricatorFilesApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/file/';
@@ -36,7 +36,6 @@
);
}
-
public function getRoutes() {
return array(
'/F(?P<id>[1-9]\d*)' => 'PhabricatorFileShortcutController',
diff --git a/src/applications/files/conduit/ConduitAPI_file_Method.php b/src/applications/files/conduit/ConduitAPI_file_Method.php
--- a/src/applications/files/conduit/ConduitAPI_file_Method.php
+++ b/src/applications/files/conduit/ConduitAPI_file_Method.php
@@ -2,9 +2,8 @@
abstract class ConduitAPI_file_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationFiles');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorFilesApplication');
}
}
diff --git a/src/applications/files/mail/FileCreateMailReceiver.php b/src/applications/files/mail/FileCreateMailReceiver.php
--- a/src/applications/files/mail/FileCreateMailReceiver.php
+++ b/src/applications/files/mail/FileCreateMailReceiver.php
@@ -3,7 +3,7 @@
final class FileCreateMailReceiver extends PhabricatorMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationFiles';
+ $app_class = 'PhabricatorFilesApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/files/mail/FileMailReceiver.php b/src/applications/files/mail/FileMailReceiver.php
--- a/src/applications/files/mail/FileMailReceiver.php
+++ b/src/applications/files/mail/FileMailReceiver.php
@@ -3,7 +3,7 @@
final class FileMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationFiles';
+ $app_class = 'PhabricatorFilesApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/files/query/PhabricatorFileQuery.php b/src/applications/files/query/PhabricatorFileQuery.php
--- a/src/applications/files/query/PhabricatorFileQuery.php
+++ b/src/applications/files/query/PhabricatorFileQuery.php
@@ -247,7 +247,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationFiles';
+ return 'PhabricatorFilesApplication';
}
}
diff --git a/src/applications/files/query/PhabricatorFileSearchEngine.php b/src/applications/files/query/PhabricatorFileSearchEngine.php
--- a/src/applications/files/query/PhabricatorFileSearchEngine.php
+++ b/src/applications/files/query/PhabricatorFileSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationFiles';
+ return 'PhabricatorFilesApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/flag/application/PhabricatorApplicationFlags.php b/src/applications/flag/application/PhabricatorFlagsApplication.php
rename from src/applications/flag/application/PhabricatorApplicationFlags.php
rename to src/applications/flag/application/PhabricatorFlagsApplication.php
--- a/src/applications/flag/application/PhabricatorApplicationFlags.php
+++ b/src/applications/flag/application/PhabricatorFlagsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationFlags extends PhabricatorApplication {
+final class PhabricatorFlagsApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('Personal Bookmarks');
diff --git a/src/applications/flag/conduit/ConduitAPI_flag_Method.php b/src/applications/flag/conduit/ConduitAPI_flag_Method.php
--- a/src/applications/flag/conduit/ConduitAPI_flag_Method.php
+++ b/src/applications/flag/conduit/ConduitAPI_flag_Method.php
@@ -2,9 +2,8 @@
abstract class ConduitAPI_flag_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationFlags');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorFlagsApplication');
}
protected function attachHandleToFlag($flag, PhabricatorUser $user) {
diff --git a/src/applications/flag/query/PhabricatorFlagQuery.php b/src/applications/flag/query/PhabricatorFlagQuery.php
--- a/src/applications/flag/query/PhabricatorFlagQuery.php
+++ b/src/applications/flag/query/PhabricatorFlagQuery.php
@@ -162,7 +162,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationFlags';
+ return 'PhabricatorFlagsApplication';
}
}
diff --git a/src/applications/flag/query/PhabricatorFlagSearchEngine.php b/src/applications/flag/query/PhabricatorFlagSearchEngine.php
--- a/src/applications/flag/query/PhabricatorFlagSearchEngine.php
+++ b/src/applications/flag/query/PhabricatorFlagSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationFlags';
+ return 'PhabricatorFlagsApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/harbormaster/application/PhabricatorApplicationHarbormaster.php b/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php
rename from src/applications/harbormaster/application/PhabricatorApplicationHarbormaster.php
rename to src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php
--- a/src/applications/harbormaster/application/PhabricatorApplicationHarbormaster.php
+++ b/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationHarbormaster extends PhabricatorApplication {
+final class PhabricatorHarbormasterApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/harbormaster/';
diff --git a/src/applications/harbormaster/conduit/ConduitAPI_harbormaster_Method.php b/src/applications/harbormaster/conduit/ConduitAPI_harbormaster_Method.php
--- a/src/applications/harbormaster/conduit/ConduitAPI_harbormaster_Method.php
+++ b/src/applications/harbormaster/conduit/ConduitAPI_harbormaster_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_harbormaster_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationHarbormaster');
+ 'PhabricatorHarbormasterApplication');
}
public function getMethodStatus() {
diff --git a/src/applications/harbormaster/engine/HarbormasterBuildEngine.php b/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
--- a/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
+++ b/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
@@ -428,7 +428,7 @@
->setOldValue($old_status)
->setNewValue($new_status);
- $harbormaster_phid = id(new PhabricatorApplicationHarbormaster())
+ $harbormaster_phid = id(new PhabricatorHarbormasterApplication())
->getPHID();
$daemon_source = PhabricatorContentSource::newForSource(
diff --git a/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php b/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildArtifactQuery.php
@@ -113,7 +113,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildItemQuery.php b/src/applications/harbormaster/query/HarbormasterBuildItemQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildItemQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildItemQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php b/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildLogQuery.php
@@ -92,7 +92,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php b/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildMessageQuery.php
@@ -92,7 +92,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php b/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
@@ -68,7 +68,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/harbormaster/query/HarbormasterBuildQuery.php b/src/applications/harbormaster/query/HarbormasterBuildQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildQuery.php
@@ -173,7 +173,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php b/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildStepQuery.php
@@ -100,7 +100,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php b/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildTargetQuery.php
@@ -92,7 +92,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildableQuery.php b/src/applications/harbormaster/query/HarbormasterBuildableQuery.php
--- a/src/applications/harbormaster/query/HarbormasterBuildableQuery.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildableQuery.php
@@ -216,7 +216,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
}
diff --git a/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php b/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
--- a/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
+++ b/src/applications/harbormaster/query/HarbormasterBuildableSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/harbormaster/storage/HarbormasterBuildable.php b/src/applications/harbormaster/storage/HarbormasterBuildable.php
--- a/src/applications/harbormaster/storage/HarbormasterBuildable.php
+++ b/src/applications/harbormaster/storage/HarbormasterBuildable.php
@@ -58,7 +58,7 @@
return 'bluegrey';
}
}
-
+
public static function initializeNewBuildable(PhabricatorUser $actor) {
return id(new HarbormasterBuildable())
->setIsManualBuildable(0)
@@ -110,7 +110,7 @@
// Skip all of this logic if the Harbormaster application
// isn't currently installed.
- $harbormaster_app = 'PhabricatorApplicationHarbormaster';
+ $harbormaster_app = 'PhabricatorHarbormasterApplication';
if (!PhabricatorApplication::isClassInstalled($harbormaster_app)) {
return;
}
diff --git a/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php b/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
--- a/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
+++ b/src/applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationHarbormaster';
+ return 'PhabricatorHarbormasterApplication';
}
public function loadResults() {
diff --git a/src/applications/help/application/PhabricatorApplicationHelp.php b/src/applications/help/application/PhabricatorHelpApplication.php
rename from src/applications/help/application/PhabricatorApplicationHelp.php
rename to src/applications/help/application/PhabricatorHelpApplication.php
--- a/src/applications/help/application/PhabricatorApplicationHelp.php
+++ b/src/applications/help/application/PhabricatorHelpApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationHelp extends PhabricatorApplication {
+final class PhabricatorHelpApplication extends PhabricatorApplication {
public function canUninstall() {
return false;
diff --git a/src/applications/herald/adapter/HeraldCommitAdapter.php b/src/applications/herald/adapter/HeraldCommitAdapter.php
--- a/src/applications/herald/adapter/HeraldCommitAdapter.php
+++ b/src/applications/herald/adapter/HeraldCommitAdapter.php
@@ -24,7 +24,7 @@
protected $auditNeededPackages;
public function getAdapterApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function getObject() {
diff --git a/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php b/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php
--- a/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php
+++ b/src/applications/herald/adapter/HeraldDifferentialRevisionAdapter.php
@@ -23,7 +23,7 @@
private $haveHunks;
public function getAdapterApplicationClass() {
- return 'PhabricatorApplicationDifferential';
+ return 'PhabricatorDifferentialApplication';
}
public function getObject() {
diff --git a/src/applications/herald/adapter/HeraldManiphestTaskAdapter.php b/src/applications/herald/adapter/HeraldManiphestTaskAdapter.php
--- a/src/applications/herald/adapter/HeraldManiphestTaskAdapter.php
+++ b/src/applications/herald/adapter/HeraldManiphestTaskAdapter.php
@@ -13,7 +13,7 @@
}
public function getAdapterApplicationClass() {
- return 'PhabricatorApplicationManiphest';
+ return 'PhabricatorManiphestApplication';
}
public function getAdapterContentDescription() {
diff --git a/src/applications/herald/adapter/HeraldPholioMockAdapter.php b/src/applications/herald/adapter/HeraldPholioMockAdapter.php
--- a/src/applications/herald/adapter/HeraldPholioMockAdapter.php
+++ b/src/applications/herald/adapter/HeraldPholioMockAdapter.php
@@ -6,7 +6,7 @@
private $ccPHIDs = array();
public function getAdapterApplicationClass() {
- return 'PhabricatorApplicationPholio';
+ return 'PhabricatorPholioApplication';
}
public function getAdapterContentDescription() {
diff --git a/src/applications/herald/application/PhabricatorApplicationHerald.php b/src/applications/herald/application/PhabricatorHeraldApplication.php
rename from src/applications/herald/application/PhabricatorApplicationHerald.php
rename to src/applications/herald/application/PhabricatorHeraldApplication.php
--- a/src/applications/herald/application/PhabricatorApplicationHerald.php
+++ b/src/applications/herald/application/PhabricatorHeraldApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationHerald extends PhabricatorApplication {
+final class PhabricatorHeraldApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/herald/';
@@ -66,5 +66,4 @@
);
}
-
}
diff --git a/src/applications/herald/query/HeraldRuleQuery.php b/src/applications/herald/query/HeraldRuleQuery.php
--- a/src/applications/herald/query/HeraldRuleQuery.php
+++ b/src/applications/herald/query/HeraldRuleQuery.php
@@ -273,7 +273,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHerald';
+ return 'PhabricatorHeraldApplication';
}
}
diff --git a/src/applications/herald/query/HeraldRuleSearchEngine.php b/src/applications/herald/query/HeraldRuleSearchEngine.php
--- a/src/applications/herald/query/HeraldRuleSearchEngine.php
+++ b/src/applications/herald/query/HeraldRuleSearchEngine.php
@@ -1,14 +1,13 @@
<?php
-final class HeraldRuleSearchEngine
- extends PhabricatorApplicationSearchEngine {
+final class HeraldRuleSearchEngine extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Herald Rules');
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationHerald';
+ return 'PhabricatorHeraldApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/herald/query/HeraldTranscriptQuery.php b/src/applications/herald/query/HeraldTranscriptQuery.php
--- a/src/applications/herald/query/HeraldTranscriptQuery.php
+++ b/src/applications/herald/query/HeraldTranscriptQuery.php
@@ -108,7 +108,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationHerald';
+ return 'PhabricatorHeraldApplication';
}
}
diff --git a/src/applications/herald/query/HeraldTranscriptSearchEngine.php b/src/applications/herald/query/HeraldTranscriptSearchEngine.php
--- a/src/applications/herald/query/HeraldTranscriptSearchEngine.php
+++ b/src/applications/herald/query/HeraldTranscriptSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationHerald';
+ return 'PhabricatorHeraldApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/herald/storage/HeraldRule.php b/src/applications/herald/storage/HeraldRule.php
--- a/src/applications/herald/storage/HeraldRule.php
+++ b/src/applications/herald/storage/HeraldRule.php
@@ -221,7 +221,7 @@
case PhabricatorPolicyCapability::CAN_VIEW:
return PhabricatorPolicies::POLICY_USER;
case PhabricatorPolicyCapability::CAN_EDIT:
- $app = 'PhabricatorApplicationHerald';
+ $app = 'PhabricatorHeraldApplication';
$herald = PhabricatorApplication::getByClass($app);
$global = HeraldCapabilityManageGlobalRules::CAPABILITY;
return $herald->getPolicy($global);
diff --git a/src/applications/home/application/PhabricatorApplicationHome.php b/src/applications/home/application/PhabricatorHomeApplication.php
rename from src/applications/home/application/PhabricatorApplicationHome.php
rename to src/applications/home/application/PhabricatorHomeApplication.php
--- a/src/applications/home/application/PhabricatorApplicationHome.php
+++ b/src/applications/home/application/PhabricatorHomeApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationHome extends PhabricatorApplication {
+final class PhabricatorHomeApplication extends PhabricatorApplication {
const DASHBOARD_DEFAULT = 'dashboard:default';
diff --git a/src/applications/home/controller/PhabricatorHomeController.php b/src/applications/home/controller/PhabricatorHomeController.php
--- a/src/applications/home/controller/PhabricatorHomeController.php
+++ b/src/applications/home/controller/PhabricatorHomeController.php
@@ -33,7 +33,7 @@
$user);
// Force "Applications" to appear at the bottom.
- $meta_app = 'PhabricatorApplicationApplications';
+ $meta_app = 'PhabricatorApplicationsApplication';
$pinned = array_fuse($pinned);
unset($pinned[$meta_app]);
$pinned[$meta_app] = $meta_app;
@@ -41,7 +41,7 @@
$tiles = array();
- $home_app = new PhabricatorApplicationHome();
+ $home_app = new PhabricatorHomeApplication();
$tiles[] = id(new PhabricatorApplicationLaunchView())
->setApplication($home_app)
diff --git a/src/applications/home/controller/PhabricatorHomeMainController.php b/src/applications/home/controller/PhabricatorHomeMainController.php
--- a/src/applications/home/controller/PhabricatorHomeMainController.php
+++ b/src/applications/home/controller/PhabricatorHomeMainController.php
@@ -25,7 +25,7 @@
if (!$dashboard) {
$dashboard = PhabricatorDashboardInstall::getDashboard(
$user,
- PhabricatorApplicationHome::DASHBOARD_DEFAULT,
+ PhabricatorHomeApplication::DASHBOARD_DEFAULT,
get_class($this->getCurrentApplication()));
}
@@ -65,15 +65,15 @@
$viewer = $this->getRequest()->getUser();
$has_maniphest = PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationManiphest',
+ 'PhabricatorManiphestApplication',
$viewer);
$has_audit = PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationAudit',
+ 'PhabricatorAuditApplication',
$viewer);
$has_differential = PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationDifferential',
+ 'PhabricatorDifferentialApplication',
$viewer);
if ($has_maniphest) {
diff --git a/src/applications/legalpad/application/PhabricatorApplicationLegalpad.php b/src/applications/legalpad/application/PhabricatorLegalpadApplication.php
rename from src/applications/legalpad/application/PhabricatorApplicationLegalpad.php
rename to src/applications/legalpad/application/PhabricatorLegalpadApplication.php
--- a/src/applications/legalpad/application/PhabricatorApplicationLegalpad.php
+++ b/src/applications/legalpad/application/PhabricatorLegalpadApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationLegalpad extends PhabricatorApplication {
+final class PhabricatorLegalpadApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/legalpad/';
@@ -64,12 +64,9 @@
protected function getCustomCapabilities() {
return array(
- LegalpadCapabilityCreateDocuments::CAPABILITY => array(
- ),
- LegalpadCapabilityDefaultView::CAPABILITY => array(
- ),
- LegalpadCapabilityDefaultEdit::CAPABILITY => array(
- ),
+ LegalpadCapabilityCreateDocuments::CAPABILITY => array(),
+ LegalpadCapabilityDefaultView::CAPABILITY => array(),
+ LegalpadCapabilityDefaultEdit::CAPABILITY => array(),
);
}
diff --git a/src/applications/legalpad/mail/LegalpadMockMailReceiver.php b/src/applications/legalpad/mail/LegalpadMockMailReceiver.php
--- a/src/applications/legalpad/mail/LegalpadMockMailReceiver.php
+++ b/src/applications/legalpad/mail/LegalpadMockMailReceiver.php
@@ -3,7 +3,7 @@
final class LegalpadMockMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationLegalpad';
+ $app_class = 'PhabricatorLegalpadApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/legalpad/query/LegalpadDocumentQuery.php b/src/applications/legalpad/query/LegalpadDocumentQuery.php
--- a/src/applications/legalpad/query/LegalpadDocumentQuery.php
+++ b/src/applications/legalpad/query/LegalpadDocumentQuery.php
@@ -259,7 +259,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationLegalpad';
+ return 'PhabricatorLegalpadApplication';
}
}
diff --git a/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php b/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
--- a/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
+++ b/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationLegalpad';
+ return 'PhabricatorLegalpadApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php b/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php
--- a/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php
+++ b/src/applications/legalpad/query/LegalpadDocumentSignatureQuery.php
@@ -144,7 +144,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationLegalpad';
+ return 'PhabricatorLegalpadApplication';
}
}
diff --git a/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php b/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php
--- a/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php
+++ b/src/applications/legalpad/query/LegalpadDocumentSignatureSearchEngine.php
@@ -10,7 +10,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationLegalpad';
+ return 'PhabricatorLegalpadApplication';
}
public function setDocument(LegalpadDocument $document) {
diff --git a/src/applications/legalpad/storage/LegalpadDocument.php b/src/applications/legalpad/storage/LegalpadDocument.php
--- a/src/applications/legalpad/storage/LegalpadDocument.php
+++ b/src/applications/legalpad/storage/LegalpadDocument.php
@@ -30,7 +30,7 @@
public static function initializeNewDocument(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationLegalpad'))
+ ->withClasses(array('PhabricatorLegalpadApplication'))
->executeOne();
$view_policy = $app->getPolicy(LegalpadCapabilityDefaultView::CAPABILITY);
diff --git a/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php b/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
--- a/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
+++ b/src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationLegalpad';
+ return 'PhabricatorLegalpadApplication';
}
public function loadResults() {
diff --git a/src/applications/macro/application/PhabricatorApplicationMacro.php b/src/applications/macro/application/PhabricatorMacroApplication.php
rename from src/applications/macro/application/PhabricatorApplicationMacro.php
rename to src/applications/macro/application/PhabricatorMacroApplication.php
--- a/src/applications/macro/application/PhabricatorApplicationMacro.php
+++ b/src/applications/macro/application/PhabricatorMacroApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationMacro extends PhabricatorApplication {
+final class PhabricatorMacroApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/macro/';
@@ -47,7 +47,7 @@
protected function getCustomCapabilities() {
return array(
PhabricatorMacroCapabilityManage::CAPABILITY => array(
- 'caption' => pht('Allows creating and editing macros.')
+ 'caption' => pht('Allows creating and editing macros.'),
),
);
}
diff --git a/src/applications/macro/conduit/ConduitAPI_macro_Method.php b/src/applications/macro/conduit/ConduitAPI_macro_Method.php
--- a/src/applications/macro/conduit/ConduitAPI_macro_Method.php
+++ b/src/applications/macro/conduit/ConduitAPI_macro_Method.php
@@ -2,9 +2,8 @@
abstract class ConduitAPI_macro_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationMacro');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorMacroApplication');
}
}
diff --git a/src/applications/macro/mail/PhabricatorMacroMailReceiver.php b/src/applications/macro/mail/PhabricatorMacroMailReceiver.php
--- a/src/applications/macro/mail/PhabricatorMacroMailReceiver.php
+++ b/src/applications/macro/mail/PhabricatorMacroMailReceiver.php
@@ -3,7 +3,7 @@
final class PhabricatorMacroMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationManiphest';
+ $app_class = 'PhabricatorManiphestApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/macro/query/PhabricatorMacroQuery.php b/src/applications/macro/query/PhabricatorMacroQuery.php
--- a/src/applications/macro/query/PhabricatorMacroQuery.php
+++ b/src/applications/macro/query/PhabricatorMacroQuery.php
@@ -221,7 +221,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationMacro';
+ return 'PhabricatorMacroApplication';
}
}
diff --git a/src/applications/macro/query/PhabricatorMacroSearchEngine.php b/src/applications/macro/query/PhabricatorMacroSearchEngine.php
--- a/src/applications/macro/query/PhabricatorMacroSearchEngine.php
+++ b/src/applications/macro/query/PhabricatorMacroSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationMacro';
+ return 'PhabricatorMacroApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/macro/typeahead/PhabricatorMacroDatasource.php b/src/applications/macro/typeahead/PhabricatorMacroDatasource.php
--- a/src/applications/macro/typeahead/PhabricatorMacroDatasource.php
+++ b/src/applications/macro/typeahead/PhabricatorMacroDatasource.php
@@ -1,14 +1,13 @@
<?php
-final class PhabricatorMacroDatasource
- extends PhabricatorTypeaheadDatasource {
+final class PhabricatorMacroDatasource extends PhabricatorTypeaheadDatasource {
public function getPlaceholderText() {
return pht('Type a macro name...');
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationMacro';
+ return 'PhabricatorMacroApplication';
}
public function loadResults() {
diff --git a/src/applications/mailinglists/application/PhabricatorApplicationMailingLists.php b/src/applications/mailinglists/application/PhabricatorMailingListsApplication.php
rename from src/applications/mailinglists/application/PhabricatorApplicationMailingLists.php
rename to src/applications/mailinglists/application/PhabricatorMailingListsApplication.php
--- a/src/applications/mailinglists/application/PhabricatorApplicationMailingLists.php
+++ b/src/applications/mailinglists/application/PhabricatorMailingListsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationMailingLists extends PhabricatorApplication {
+final class PhabricatorMailingListsApplication extends PhabricatorApplication {
public function getName() {
return 'Mailing Lists';
diff --git a/src/applications/mailinglists/query/PhabricatorMailingListQuery.php b/src/applications/mailinglists/query/PhabricatorMailingListQuery.php
--- a/src/applications/mailinglists/query/PhabricatorMailingListQuery.php
+++ b/src/applications/mailinglists/query/PhabricatorMailingListQuery.php
@@ -80,7 +80,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationMailingLists';
+ return 'PhabricatorMailingListsApplication';
}
}
diff --git a/src/applications/mailinglists/query/PhabricatorMailingListSearchEngine.php b/src/applications/mailinglists/query/PhabricatorMailingListSearchEngine.php
--- a/src/applications/mailinglists/query/PhabricatorMailingListSearchEngine.php
+++ b/src/applications/mailinglists/query/PhabricatorMailingListSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationMailingLists';
+ return 'PhabricatorMailingListsApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/mailinglists/typeahead/PhabricatorMailingListDatasource.php b/src/applications/mailinglists/typeahead/PhabricatorMailingListDatasource.php
--- a/src/applications/mailinglists/typeahead/PhabricatorMailingListDatasource.php
+++ b/src/applications/mailinglists/typeahead/PhabricatorMailingListDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationMailingLists';
+ return 'PhabricatorMailingListsApplication';
}
public function loadResults() {
diff --git a/src/applications/maniphest/application/PhabricatorApplicationManiphest.php b/src/applications/maniphest/application/PhabricatorManiphestApplication.php
rename from src/applications/maniphest/application/PhabricatorApplicationManiphest.php
rename to src/applications/maniphest/application/PhabricatorManiphestApplication.php
--- a/src/applications/maniphest/application/PhabricatorApplicationManiphest.php
+++ b/src/applications/maniphest/application/PhabricatorManiphestApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationManiphest extends PhabricatorApplication {
+final class PhabricatorManiphestApplication extends PhabricatorApplication {
public function getShortDescription() {
return 'Tasks and Bugs';
@@ -101,25 +101,17 @@
protected function getCustomCapabilities() {
return array(
ManiphestCapabilityDefaultView::CAPABILITY => array(
- 'caption' => pht(
- 'Default view policy for newly created tasks.'),
+ 'caption' => pht('Default view policy for newly created tasks.'),
),
ManiphestCapabilityDefaultEdit::CAPABILITY => array(
- 'caption' => pht(
- 'Default edit policy for newly created tasks.'),
- ),
- ManiphestCapabilityEditStatus::CAPABILITY => array(
- ),
- ManiphestCapabilityEditAssign::CAPABILITY => array(
- ),
- ManiphestCapabilityEditPolicies::CAPABILITY => array(
- ),
- ManiphestCapabilityEditPriority::CAPABILITY => array(
- ),
- ManiphestCapabilityEditProjects::CAPABILITY => array(
- ),
- ManiphestCapabilityBulkEdit::CAPABILITY => array(
+ 'caption' => pht('Default edit policy for newly created tasks.'),
),
+ ManiphestCapabilityEditStatus::CAPABILITY => array(),
+ ManiphestCapabilityEditAssign::CAPABILITY => array(),
+ ManiphestCapabilityEditPolicies::CAPABILITY => array(),
+ ManiphestCapabilityEditPriority::CAPABILITY => array(),
+ ManiphestCapabilityEditProjects::CAPABILITY => array(),
+ ManiphestCapabilityBulkEdit::CAPABILITY => array(),
);
}
diff --git a/src/applications/maniphest/conduit/ConduitAPI_maniphest_Method.php b/src/applications/maniphest/conduit/ConduitAPI_maniphest_Method.php
--- a/src/applications/maniphest/conduit/ConduitAPI_maniphest_Method.php
+++ b/src/applications/maniphest/conduit/ConduitAPI_maniphest_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_maniphest_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationManiphest');
+ 'PhabricatorManiphestApplication');
}
public function defineErrorTypes() {
diff --git a/src/applications/maniphest/editor/ManiphestTransactionEditor.php b/src/applications/maniphest/editor/ManiphestTransactionEditor.php
--- a/src/applications/maniphest/editor/ManiphestTransactionEditor.php
+++ b/src/applications/maniphest/editor/ManiphestTransactionEditor.php
@@ -464,7 +464,7 @@
if ($app_capability) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($this->getActor())
- ->withClasses(array('PhabricatorApplicationManiphest'))
+ ->withClasses(array('PhabricatorManiphestApplication'))
->executeOne();
PhabricatorPolicyFilter::requireCapability(
$this->getActor(),
diff --git a/src/applications/maniphest/mail/ManiphestCreateMailReceiver.php b/src/applications/maniphest/mail/ManiphestCreateMailReceiver.php
--- a/src/applications/maniphest/mail/ManiphestCreateMailReceiver.php
+++ b/src/applications/maniphest/mail/ManiphestCreateMailReceiver.php
@@ -3,7 +3,7 @@
final class ManiphestCreateMailReceiver extends PhabricatorMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationManiphest';
+ $app_class = 'PhabricatorManiphestApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/maniphest/mail/ManiphestTaskMailReceiver.php b/src/applications/maniphest/mail/ManiphestTaskMailReceiver.php
--- a/src/applications/maniphest/mail/ManiphestTaskMailReceiver.php
+++ b/src/applications/maniphest/mail/ManiphestTaskMailReceiver.php
@@ -3,7 +3,7 @@
final class ManiphestTaskMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationManiphest';
+ $app_class = 'PhabricatorManiphestApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/maniphest/phid/ManiphestPHIDTypeTask.php b/src/applications/maniphest/phid/ManiphestPHIDTypeTask.php
--- a/src/applications/maniphest/phid/ManiphestPHIDTypeTask.php
+++ b/src/applications/maniphest/phid/ManiphestPHIDTypeTask.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationManiphest';
+ return 'PhabricatorManiphestApplication';
}
public function newObject() {
diff --git a/src/applications/maniphest/query/ManiphestTaskQuery.php b/src/applications/maniphest/query/ManiphestTaskQuery.php
--- a/src/applications/maniphest/query/ManiphestTaskQuery.php
+++ b/src/applications/maniphest/query/ManiphestTaskQuery.php
@@ -967,7 +967,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationManiphest';
+ return 'PhabricatorManiphestApplication';
}
}
diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
--- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
+++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
@@ -35,7 +35,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationManiphest';
+ return 'PhabricatorManiphestApplication';
}
public function getCustomFieldObject() {
diff --git a/src/applications/maniphest/storage/ManiphestTask.php b/src/applications/maniphest/storage/ManiphestTask.php
--- a/src/applications/maniphest/storage/ManiphestTask.php
+++ b/src/applications/maniphest/storage/ManiphestTask.php
@@ -42,7 +42,7 @@
public static function initializeNewTask(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationManiphest'))
+ ->withClasses(array('PhabricatorManiphestApplication'))
->executeOne();
$view_policy = $app->getPolicy(ManiphestCapabilityDefaultView::CAPABILITY);
diff --git a/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php b/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php
--- a/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php
+++ b/src/applications/maniphest/typeahead/ManiphestTaskPriorityDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationManiphest';
+ return 'PhabricatorManiphestApplication';
}
public function loadResults() {
diff --git a/src/applications/meta/application/PhabricatorApplicationApplications.php b/src/applications/meta/application/PhabricatorApplicationsApplication.php
rename from src/applications/meta/application/PhabricatorApplicationApplications.php
rename to src/applications/meta/application/PhabricatorApplicationsApplication.php
--- a/src/applications/meta/application/PhabricatorApplicationApplications.php
+++ b/src/applications/meta/application/PhabricatorApplicationsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationApplications extends PhabricatorApplication {
+final class PhabricatorApplicationsApplication extends PhabricatorApplication {
public function canUninstall() {
return false;
@@ -39,7 +39,7 @@
'PhabricatorApplicationEditController',
'(?P<application>\w+)/(?P<action>install|uninstall)/' =>
'PhabricatorApplicationUninstallController',
- ),
+ ),
);
}
diff --git a/src/applications/meta/query/PhabricatorAppSearchEngine.php b/src/applications/meta/query/PhabricatorAppSearchEngine.php
--- a/src/applications/meta/query/PhabricatorAppSearchEngine.php
+++ b/src/applications/meta/query/PhabricatorAppSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationApplications';
+ return 'PhabricatorApplicationsApplication';
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php b/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
--- a/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
+++ b/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationApplications';
+ return 'PhabricatorApplicationsApplication';
}
public function loadResults() {
diff --git a/src/applications/metamta/application/PhabricatorApplicationMetaMTA.php b/src/applications/metamta/application/PhabricatorMetaMTAApplication.php
rename from src/applications/metamta/application/PhabricatorApplicationMetaMTA.php
rename to src/applications/metamta/application/PhabricatorMetaMTAApplication.php
--- a/src/applications/metamta/application/PhabricatorApplicationMetaMTA.php
+++ b/src/applications/metamta/application/PhabricatorMetaMTAApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationMetaMTA extends PhabricatorApplication {
+final class PhabricatorMetaMTAApplication extends PhabricatorApplication {
public function getIconName() {
return 'metamta';
@@ -34,7 +34,7 @@
return array(
'/mail/' => array(
'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
- 'mailgun/' => 'PhabricatorMetaMTAMailgunReceiveController',
+ 'mailgun/' => 'PhabricatorMetaMTAMailgunReceiveController',
),
);
}
diff --git a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php
--- a/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php
+++ b/src/applications/metamta/typeahead/PhabricatorMetaMTAMailableDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationMetaMTA';
+ return 'PhabricatorMetaMTAApplication';
}
public function getComponentDatasources() {
diff --git a/src/applications/notification/PhabricatorNotificationQuery.php b/src/applications/notification/PhabricatorNotificationQuery.php
--- a/src/applications/notification/PhabricatorNotificationQuery.php
+++ b/src/applications/notification/PhabricatorNotificationQuery.php
@@ -113,7 +113,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationNotifications';
+ return 'PhabricatorNotificationsApplication';
}
}
diff --git a/src/applications/notification/application/PhabricatorApplicationNotifications.php b/src/applications/notification/application/PhabricatorNotificationsApplication.php
rename from src/applications/notification/application/PhabricatorApplicationNotifications.php
rename to src/applications/notification/application/PhabricatorNotificationsApplication.php
--- a/src/applications/notification/application/PhabricatorApplicationNotifications.php
+++ b/src/applications/notification/application/PhabricatorNotificationsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationNotifications extends PhabricatorApplication {
+final class PhabricatorNotificationsApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/notification/';
diff --git a/src/applications/nuance/application/PhabricatorApplicationNuance.php b/src/applications/nuance/application/PhabricatorNuanceApplication.php
rename from src/applications/nuance/application/PhabricatorApplicationNuance.php
rename to src/applications/nuance/application/PhabricatorNuanceApplication.php
--- a/src/applications/nuance/application/PhabricatorApplicationNuance.php
+++ b/src/applications/nuance/application/PhabricatorNuanceApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationNuance extends PhabricatorApplication {
+final class PhabricatorNuanceApplication extends PhabricatorApplication {
public function getIconName() {
return 'nuance';
@@ -15,7 +15,7 @@
}
public function isLaunchable() {
- // try to hide this even more for now
+ // Try to hide this even more for now.
return false;
}
@@ -61,15 +61,12 @@
protected function getCustomCapabilities() {
return array(
NuanceCapabilitySourceDefaultView::CAPABILITY => array(
- 'caption' => pht(
- 'Default view policy for newly created sources.'),
+ 'caption' => pht('Default view policy for newly created sources.'),
),
NuanceCapabilitySourceDefaultEdit::CAPABILITY => array(
- 'caption' => pht(
- 'Default edit policy for newly created sources.'),
- ),
- NuanceCapabilitySourceManage::CAPABILITY => array(
+ 'caption' => pht('Default edit policy for newly created sources.'),
),
+ NuanceCapabilitySourceManage::CAPABILITY => array(),
);
}
diff --git a/src/applications/nuance/conduit/ConduitAPI_nuance_Method.php b/src/applications/nuance/conduit/ConduitAPI_nuance_Method.php
--- a/src/applications/nuance/conduit/ConduitAPI_nuance_Method.php
+++ b/src/applications/nuance/conduit/ConduitAPI_nuance_Method.php
@@ -2,9 +2,8 @@
abstract class ConduitAPI_nuance_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationNuance');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorNuanceApplication');
}
public function getMethodStatus() {
diff --git a/src/applications/nuance/query/NuanceQuery.php b/src/applications/nuance/query/NuanceQuery.php
--- a/src/applications/nuance/query/NuanceQuery.php
+++ b/src/applications/nuance/query/NuanceQuery.php
@@ -1,10 +1,9 @@
<?php
-abstract class NuanceQuery
- extends PhabricatorCursorPagedPolicyAwareQuery {
+abstract class NuanceQuery extends PhabricatorCursorPagedPolicyAwareQuery {
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationNuance';
+ return 'PhabricatorNuanceApplication';
}
}
diff --git a/src/applications/nuance/storage/NuanceSource.php b/src/applications/nuance/storage/NuanceSource.php
--- a/src/applications/nuance/storage/NuanceSource.php
+++ b/src/applications/nuance/storage/NuanceSource.php
@@ -39,7 +39,7 @@
public static function initializeNewSource(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationNuance'))
+ ->withClasses(array('PhabricatorNuanceApplication'))
->executeOne();
$view_policy = $app->getPolicy(
diff --git a/src/applications/oauthserver/application/PhabricatorApplicationOAuthServer.php b/src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
rename from src/applications/oauthserver/application/PhabricatorApplicationOAuthServer.php
rename to src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
--- a/src/applications/oauthserver/application/PhabricatorApplicationOAuthServer.php
+++ b/src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationOAuthServer extends PhabricatorApplication {
+final class PhabricatorOAuthServerApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/oauthserver/';
@@ -39,14 +39,14 @@
'/oauthserver/' => array(
'(?:query/(?P<queryKey>[^/]+)/)?'
=> 'PhabricatorOAuthClientListController',
- 'auth/' => 'PhabricatorOAuthServerAuthController',
+ 'auth/' => 'PhabricatorOAuthServerAuthController',
'test/(?P<id>\d+)/' => 'PhabricatorOAuthServerTestController',
- 'token/' => 'PhabricatorOAuthServerTokenController',
+ 'token/' => 'PhabricatorOAuthServerTokenController',
'client/' => array(
- 'create/' => 'PhabricatorOAuthClientEditController',
+ 'create/' => 'PhabricatorOAuthClientEditController',
'delete/(?P<phid>[^/]+)/' => 'PhabricatorOAuthClientDeleteController',
- 'edit/(?P<phid>[^/]+)/' => 'PhabricatorOAuthClientEditController',
- 'view/(?P<phid>[^/]+)/' => 'PhabricatorOAuthClientViewController',
+ 'edit/(?P<phid>[^/]+)/' => 'PhabricatorOAuthClientEditController',
+ 'view/(?P<phid>[^/]+)/' => 'PhabricatorOAuthClientViewController',
),
),
);
diff --git a/src/applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php b/src/applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php
--- a/src/applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php
+++ b/src/applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php
@@ -16,7 +16,7 @@
}
public function isEnabled() {
- $app_name = 'PhabricatorApplicationOAuthServer';
+ $app_name = 'PhabricatorOAuthServerApplication';
return PhabricatorApplication::isClassInstalled($app_name);
}
@@ -26,7 +26,7 @@
// TODO: It would be nice to simply disable this panel, but we can't do
// viewer-based checks for enabled panels right now.
- $app_class = 'PhabricatorApplicationOAuthServer';
+ $app_class = 'PhabricatorOAuthServerApplication';
$installed = PhabricatorApplication::isClassInstalledForViewer(
$app_class,
$viewer);
diff --git a/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php b/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php
--- a/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php
+++ b/src/applications/oauthserver/query/PhabricatorOAuthClientAuthorizationQuery.php
@@ -89,7 +89,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationOAuthServer';
+ return 'PhabricatorOAuthServerApplication';
}
}
diff --git a/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php b/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php
--- a/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php
+++ b/src/applications/oauthserver/query/PhabricatorOAuthServerClientQuery.php
@@ -68,7 +68,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationOAuthServer';
+ return 'PhabricatorOAuthServerApplication';
}
}
diff --git a/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php b/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php
--- a/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php
+++ b/src/applications/oauthserver/query/PhabricatorOAuthServerClientSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationOAuthServer';
+ return 'PhabricatorOAuthServerApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/owners/application/PhabricatorApplicationOwners.php b/src/applications/owners/application/PhabricatorOwnersApplication.php
rename from src/applications/owners/application/PhabricatorApplicationOwners.php
rename to src/applications/owners/application/PhabricatorOwnersApplication.php
--- a/src/applications/owners/application/PhabricatorApplicationOwners.php
+++ b/src/applications/owners/application/PhabricatorOwnersApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationOwners extends PhabricatorApplication {
+final class PhabricatorOwnersApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/owners/';
diff --git a/src/applications/owners/conduit/ConduitAPI_owners_Method.php b/src/applications/owners/conduit/ConduitAPI_owners_Method.php
--- a/src/applications/owners/conduit/ConduitAPI_owners_Method.php
+++ b/src/applications/owners/conduit/ConduitAPI_owners_Method.php
@@ -1,11 +1,9 @@
<?php
-abstract class ConduitAPI_owners_Method
- extends ConduitAPIMethod {
+abstract class ConduitAPI_owners_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationOwners');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorOwnersApplication');
}
}
diff --git a/src/applications/owners/query/PhabricatorOwnersPackageQuery.php b/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
--- a/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
+++ b/src/applications/owners/query/PhabricatorOwnersPackageQuery.php
@@ -79,9 +79,8 @@
return $this->formatWhereClause($where);
}
-
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationOwners';
+ return 'PhabricatorOwnersApplication';
}
}
diff --git a/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php b/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
--- a/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
+++ b/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationOwners';
+ return 'PhabricatorOwnersApplication';
}
public function loadResults() {
diff --git a/src/applications/passphrase/application/PhabricatorApplicationPassphrase.php b/src/applications/passphrase/application/PhabricatorPassphraseApplication.php
rename from src/applications/passphrase/application/PhabricatorApplicationPassphrase.php
rename to src/applications/passphrase/application/PhabricatorPassphraseApplication.php
--- a/src/applications/passphrase/application/PhabricatorApplicationPassphrase.php
+++ b/src/applications/passphrase/application/PhabricatorPassphraseApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPassphrase extends PhabricatorApplication {
+final class PhabricatorPassphraseApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/passphrase/';
diff --git a/src/applications/passphrase/query/PassphraseCredentialQuery.php b/src/applications/passphrase/query/PassphraseCredentialQuery.php
--- a/src/applications/passphrase/query/PassphraseCredentialQuery.php
+++ b/src/applications/passphrase/query/PassphraseCredentialQuery.php
@@ -131,7 +131,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPassphrase';
+ return 'PhabricatorPassphraseApplication';
}
}
diff --git a/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php b/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
--- a/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
+++ b/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationPassphrase';
+ return 'PhabricatorPassphraseApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/paste/application/PhabricatorApplicationPaste.php b/src/applications/paste/application/PhabricatorPasteApplication.php
rename from src/applications/paste/application/PhabricatorApplicationPaste.php
rename to src/applications/paste/application/PhabricatorPasteApplication.php
--- a/src/applications/paste/application/PhabricatorApplicationPaste.php
+++ b/src/applications/paste/application/PhabricatorPasteApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPaste extends PhabricatorApplication {
+final class PhabricatorPasteApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/paste/';
@@ -34,9 +34,9 @@
=> 'PhabricatorPasteViewController',
'/paste/' => array(
'(query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorPasteListController',
- 'create/' => 'PhabricatorPasteEditController',
- 'edit/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteEditController',
- 'comment/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteCommentController',
+ 'create/' => 'PhabricatorPasteEditController',
+ 'edit/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteEditController',
+ 'comment/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteCommentController',
),
);
}
@@ -44,8 +44,7 @@
protected function getCustomCapabilities() {
return array(
PasteCapabilityDefaultView::CAPABILITY => array(
- 'caption' => pht(
- 'Default view policy for newly created pastes.')
+ 'caption' => pht('Default view policy for newly created pastes.'),
),
);
}
diff --git a/src/applications/paste/conduit/ConduitAPI_paste_Method.php b/src/applications/paste/conduit/ConduitAPI_paste_Method.php
--- a/src/applications/paste/conduit/ConduitAPI_paste_Method.php
+++ b/src/applications/paste/conduit/ConduitAPI_paste_Method.php
@@ -3,8 +3,7 @@
abstract class ConduitAPI_paste_Method extends ConduitAPIMethod {
public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationPaste');
+ return PhabricatorApplication::getByClass('PhabricatorPasteApplication');
}
protected function buildPasteInfoDictionary(PhabricatorPaste $paste) {
diff --git a/src/applications/paste/mail/PasteCreateMailReceiver.php b/src/applications/paste/mail/PasteCreateMailReceiver.php
--- a/src/applications/paste/mail/PasteCreateMailReceiver.php
+++ b/src/applications/paste/mail/PasteCreateMailReceiver.php
@@ -3,7 +3,7 @@
final class PasteCreateMailReceiver extends PhabricatorMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationPaste';
+ $app_class = 'PhabricatorPasteApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/paste/mail/PasteMockMailReceiver.php b/src/applications/paste/mail/PasteMockMailReceiver.php
--- a/src/applications/paste/mail/PasteMockMailReceiver.php
+++ b/src/applications/paste/mail/PasteMockMailReceiver.php
@@ -3,7 +3,7 @@
final class PasteMockMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationPaste';
+ $app_class = 'PhabricatorPasteApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/paste/query/PhabricatorPasteQuery.php b/src/applications/paste/query/PhabricatorPasteQuery.php
--- a/src/applications/paste/query/PhabricatorPasteQuery.php
+++ b/src/applications/paste/query/PhabricatorPasteQuery.php
@@ -252,7 +252,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPaste';
+ return 'PhabricatorPasteApplication';
}
}
diff --git a/src/applications/paste/storage/PhabricatorPaste.php b/src/applications/paste/storage/PhabricatorPaste.php
--- a/src/applications/paste/storage/PhabricatorPaste.php
+++ b/src/applications/paste/storage/PhabricatorPaste.php
@@ -22,7 +22,7 @@
public static function initializeNewPaste(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationPaste'))
+ ->withClasses(array('PhabricatorPasteApplication'))
->executeOne();
$view_policy = $app->getPolicy(PasteCapabilityDefaultView::CAPABILITY);
diff --git a/src/applications/people/application/PhabricatorApplicationPeople.php b/src/applications/people/application/PhabricatorPeopleApplication.php
rename from src/applications/people/application/PhabricatorApplicationPeople.php
rename to src/applications/people/application/PhabricatorPeopleApplication.php
--- a/src/applications/people/application/PhabricatorApplicationPeople.php
+++ b/src/applications/people/application/PhabricatorPeopleApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPeople extends PhabricatorApplication {
+final class PhabricatorPeopleApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('User Accounts and Profiles');
@@ -75,8 +75,7 @@
protected function getCustomCapabilities() {
return array(
- PeopleCapabilityBrowseUserDirectory::CAPABILITY => array(
- ),
+ PeopleCapabilityBrowseUserDirectory::CAPABILITY => array(),
);
}
@@ -158,5 +157,4 @@
return $items;
}
-
}
diff --git a/src/applications/people/conduit/ConduitAPI_user_Method.php b/src/applications/people/conduit/ConduitAPI_user_Method.php
--- a/src/applications/people/conduit/ConduitAPI_user_Method.php
+++ b/src/applications/people/conduit/ConduitAPI_user_Method.php
@@ -4,7 +4,7 @@
public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationPeople');
+ 'PhabricatorPeopleApplication');
}
protected function buildUserInformationDictionary(
diff --git a/src/applications/people/customfield/PhabricatorUserStatusField.php b/src/applications/people/customfield/PhabricatorUserStatusField.php
--- a/src/applications/people/customfield/PhabricatorUserStatusField.php
+++ b/src/applications/people/customfield/PhabricatorUserStatusField.php
@@ -23,7 +23,7 @@
public function isFieldEnabled() {
return PhabricatorApplication::isClassInstalled(
- 'PhabricatorApplicationCalendar');
+ 'PhabricatorCalendarApplication');
}
public function renderPropertyViewValue(array $handles) {
diff --git a/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php b/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php
--- a/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php
+++ b/src/applications/people/event/PhabricatorPeopleHovercardEventListener.php
@@ -38,7 +38,7 @@
} else if (!$user->isUserActivated()) {
$hovercard->addField(pht('Account'), pht('Not Activated'));
} else if (PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationCalendar',
+ 'PhabricatorCalendarApplication',
$viewer)) {
$statuses = id(new PhabricatorCalendarEvent())->loadCurrentStatuses(
array($user->getPHID()));
diff --git a/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php b/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
--- a/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
+++ b/src/applications/people/phid/PhabricatorPeoplePHIDTypeUser.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
public function getTypeIcon() {
diff --git a/src/applications/people/query/PhabricatorPeopleLogQuery.php b/src/applications/people/query/PhabricatorPeopleLogQuery.php
--- a/src/applications/people/query/PhabricatorPeopleLogQuery.php
+++ b/src/applications/people/query/PhabricatorPeopleLogQuery.php
@@ -107,7 +107,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
}
diff --git a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php
--- a/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php
+++ b/src/applications/people/query/PhabricatorPeopleLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
public function getPageSize(PhabricatorSavedQuery $saved) {
diff --git a/src/applications/people/query/PhabricatorPeopleQuery.php b/src/applications/people/query/PhabricatorPeopleQuery.php
--- a/src/applications/people/query/PhabricatorPeopleQuery.php
+++ b/src/applications/people/query/PhabricatorPeopleQuery.php
@@ -297,7 +297,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
}
diff --git a/src/applications/people/query/PhabricatorPeopleSearchEngine.php b/src/applications/people/query/PhabricatorPeopleSearchEngine.php
--- a/src/applications/people/query/PhabricatorPeopleSearchEngine.php
+++ b/src/applications/people/query/PhabricatorPeopleSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
public function getCustomFieldObject() {
diff --git a/src/applications/people/typeahead/PhabricatorPeopleDatasource.php b/src/applications/people/typeahead/PhabricatorPeopleDatasource.php
--- a/src/applications/people/typeahead/PhabricatorPeopleDatasource.php
+++ b/src/applications/people/typeahead/PhabricatorPeopleDatasource.php
@@ -20,7 +20,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationPeople';
+ return 'PhabricatorPeopleApplication';
}
public function loadResults() {
diff --git a/src/applications/phame/application/PhabricatorApplicationPhame.php b/src/applications/phame/application/PhabricatorApplicationPhame.php
deleted file mode 100644
--- a/src/applications/phame/application/PhabricatorApplicationPhame.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-final class PhabricatorApplicationPhame extends PhabricatorApplication {
-
- public function getBaseURI() {
- return '/phame/';
- }
-
- public function getIconName() {
- return 'phame';
- }
-
- public function getShortDescription() {
- return 'Blog';
- }
-
- public function getTitleGlyph() {
- return "\xe2\x9c\xa9";
- }
-
- public function getHelpURI() {
- return PhabricatorEnv::getDoclink('Phame User Guide');
- }
-
- public function isBeta() {
- return true;
- }
-
- public function getRoutes() {
- return array(
- '/phame/' => array(
- '' => 'PhamePostListController',
- 'r/(?P<id>\d+)/(?P<hash>[^/]+)/(?P<name>.*)'
- => 'PhameResourceController',
-
- 'live/(?P<id>[^/]+)/(?P<more>.*)' => 'PhameBlogLiveController',
- 'post/' => array(
- '(?:(?P<filter>draft|all)/)?' => 'PhamePostListController',
- 'blogger/(?P<bloggername>[\w\.-_]+)/' => 'PhamePostListController',
- 'delete/(?P<id>[^/]+)/' => 'PhamePostDeleteController',
- 'edit/(?:(?P<id>[^/]+)/)?' => 'PhamePostEditController',
- 'view/(?P<id>\d+)/' => 'PhamePostViewController',
- 'publish/(?P<id>\d+)/' => 'PhamePostPublishController',
- 'unpublish/(?P<id>\d+)/' => 'PhamePostUnpublishController',
- 'notlive/(?P<id>\d+)/' => 'PhamePostNotLiveController',
- 'preview/' => 'PhamePostPreviewController',
- 'framed/(?P<id>\d+)/' => 'PhamePostFramedController',
- 'new/' => 'PhamePostNewController',
- 'move/(?P<id>\d+)/' => 'PhamePostNewController'
- ),
- 'blog/' => array(
- '(?:(?P<filter>user|all)/)?' => 'PhameBlogListController',
- 'delete/(?P<id>[^/]+)/' => 'PhameBlogDeleteController',
- 'edit/(?P<id>[^/]+)/' => 'PhameBlogEditController',
- 'view/(?P<id>[^/]+)/' => 'PhameBlogViewController',
- 'feed/(?P<id>[^/]+)/' => 'PhameBlogFeedController',
- 'new/' => 'PhameBlogEditController',
- ),
- ),
- );
- }
-}
diff --git a/src/applications/phame/application/PhabricatorPhameApplication.php b/src/applications/phame/application/PhabricatorPhameApplication.php
new file mode 100644
--- /dev/null
+++ b/src/applications/phame/application/PhabricatorPhameApplication.php
@@ -0,0 +1,63 @@
+<?php
+
+final class PhabricatorPhameApplication extends PhabricatorApplication {
+
+ public function getBaseURI() {
+ return '/phame/';
+ }
+
+ public function getIconName() {
+ return 'phame';
+ }
+
+ public function getShortDescription() {
+ return 'Blog';
+ }
+
+ public function getTitleGlyph() {
+ return "\xe2\x9c\xa9";
+ }
+
+ public function getHelpURI() {
+ return PhabricatorEnv::getDoclink('Phame User Guide');
+ }
+
+ public function isBeta() {
+ return true;
+ }
+
+ public function getRoutes() {
+ return array(
+ '/phame/' => array(
+ '' => 'PhamePostListController',
+ 'r/(?P<id>\d+)/(?P<hash>[^/]+)/(?P<name>.*)'
+ => 'PhameResourceController',
+
+ 'live/(?P<id>[^/]+)/(?P<more>.*)' => 'PhameBlogLiveController',
+ 'post/' => array(
+ '(?:(?P<filter>draft|all)/)?' => 'PhamePostListController',
+ 'blogger/(?P<bloggername>[\w\.-_]+)/' => 'PhamePostListController',
+ 'delete/(?P<id>[^/]+)/' => 'PhamePostDeleteController',
+ 'edit/(?:(?P<id>[^/]+)/)?' => 'PhamePostEditController',
+ 'view/(?P<id>\d+)/' => 'PhamePostViewController',
+ 'publish/(?P<id>\d+)/' => 'PhamePostPublishController',
+ 'unpublish/(?P<id>\d+)/' => 'PhamePostUnpublishController',
+ 'notlive/(?P<id>\d+)/' => 'PhamePostNotLiveController',
+ 'preview/' => 'PhamePostPreviewController',
+ 'framed/(?P<id>\d+)/' => 'PhamePostFramedController',
+ 'new/' => 'PhamePostNewController',
+ 'move/(?P<id>\d+)/' => 'PhamePostNewController'
+ ),
+ 'blog/' => array(
+ '(?:(?P<filter>user|all)/)?' => 'PhameBlogListController',
+ 'delete/(?P<id>[^/]+)/' => 'PhameBlogDeleteController',
+ 'edit/(?P<id>[^/]+)/' => 'PhameBlogEditController',
+ 'view/(?P<id>[^/]+)/' => 'PhameBlogViewController',
+ 'feed/(?P<id>[^/]+)/' => 'PhameBlogFeedController',
+ 'new/' => 'PhameBlogEditController',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/src/applications/phame/conduit/ConduitAPI_phame_Method.php b/src/applications/phame/conduit/ConduitAPI_phame_Method.php
--- a/src/applications/phame/conduit/ConduitAPI_phame_Method.php
+++ b/src/applications/phame/conduit/ConduitAPI_phame_Method.php
@@ -2,8 +2,8 @@
abstract class ConduitAPI_phame_Method extends ConduitAPIMethod {
- public function getApplication() {
- return PhabricatorApplication::getByClass('PhabricatorApplicationPhame');
+ final public function getApplication() {
+ return PhabricatorApplication::getByClass('PhabricatorPhameApplication');
}
}
diff --git a/src/applications/phid/query/PhabricatorObjectListQuery.php b/src/applications/phid/query/PhabricatorObjectListQuery.php
--- a/src/applications/phid/query/PhabricatorObjectListQuery.php
+++ b/src/applications/phid/query/PhabricatorObjectListQuery.php
@@ -144,7 +144,7 @@
}
$mailing_list_app = PhabricatorApplication::getByClass(
- 'PhabricatorApplicationMailingLists');
+ 'PhabricatorMailingListsApplication');
if ($mailing_list_app->isInstalled()) {
if ($names) {
// We still haven't been able to resolve everything; try mailing lists
diff --git a/src/applications/phlux/application/PhabricatorApplicationPhlux.php b/src/applications/phlux/application/PhabricatorPhluxApplication.php
rename from src/applications/phlux/application/PhabricatorApplicationPhlux.php
rename to src/applications/phlux/application/PhabricatorPhluxApplication.php
--- a/src/applications/phlux/application/PhabricatorApplicationPhlux.php
+++ b/src/applications/phlux/application/PhabricatorPhluxApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPhlux extends PhabricatorApplication {
+final class PhabricatorPhluxApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/phlux/';
diff --git a/src/applications/phlux/query/PhluxVariableQuery.php b/src/applications/phlux/query/PhluxVariableQuery.php
--- a/src/applications/phlux/query/PhluxVariableQuery.php
+++ b/src/applications/phlux/query/PhluxVariableQuery.php
@@ -66,7 +66,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhlux';
+ return 'PhabricatorPhluxApplication';
}
}
diff --git a/src/applications/pholio/application/PhabricatorApplicationPholio.php b/src/applications/pholio/application/PhabricatorPholioApplication.php
rename from src/applications/pholio/application/PhabricatorApplicationPholio.php
rename to src/applications/pholio/application/PhabricatorPholioApplication.php
--- a/src/applications/pholio/application/PhabricatorApplicationPholio.php
+++ b/src/applications/pholio/application/PhabricatorPholioApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPholio extends PhabricatorApplication {
+final class PhabricatorPholioApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/pholio/';
diff --git a/src/applications/pholio/mail/PholioMockMailReceiver.php b/src/applications/pholio/mail/PholioMockMailReceiver.php
--- a/src/applications/pholio/mail/PholioMockMailReceiver.php
+++ b/src/applications/pholio/mail/PholioMockMailReceiver.php
@@ -3,7 +3,7 @@
final class PholioMockMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationPholio';
+ $app_class = 'PhabricatorPholioApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/pholio/phid/PholioPHIDTypeMock.php b/src/applications/pholio/phid/PholioPHIDTypeMock.php
--- a/src/applications/pholio/phid/PholioPHIDTypeMock.php
+++ b/src/applications/pholio/phid/PholioPHIDTypeMock.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationPholio';
+ return 'PhabricatorPholioApplication';
}
public function newObject() {
diff --git a/src/applications/pholio/query/PholioImageQuery.php b/src/applications/pholio/query/PholioImageQuery.php
--- a/src/applications/pholio/query/PholioImageQuery.php
+++ b/src/applications/pholio/query/PholioImageQuery.php
@@ -159,7 +159,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPholio';
+ return 'PhabricatorPholioApplication';
}
}
diff --git a/src/applications/pholio/query/PholioMockQuery.php b/src/applications/pholio/query/PholioMockQuery.php
--- a/src/applications/pholio/query/PholioMockQuery.php
+++ b/src/applications/pholio/query/PholioMockQuery.php
@@ -172,7 +172,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPholio';
+ return 'PhabricatorPholioApplication';
}
}
diff --git a/src/applications/pholio/query/PholioMockSearchEngine.php b/src/applications/pholio/query/PholioMockSearchEngine.php
--- a/src/applications/pholio/query/PholioMockSearchEngine.php
+++ b/src/applications/pholio/query/PholioMockSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationPholio';
+ return 'PhabricatorPholioApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/pholio/storage/PholioMock.php b/src/applications/pholio/storage/PholioMock.php
--- a/src/applications/pholio/storage/PholioMock.php
+++ b/src/applications/pholio/storage/PholioMock.php
@@ -32,7 +32,7 @@
public static function initializeNewMock(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationPholio'))
+ ->withClasses(array('PhabricatorPholioApplication'))
->executeOne();
$view_policy = $app->getPolicy(PholioCapabilityDefaultView::CAPABILITY);
diff --git a/src/applications/phortune/application/PhabricatorApplicationPhortune.php b/src/applications/phortune/application/PhabricatorPhortuneApplication.php
rename from src/applications/phortune/application/PhabricatorApplicationPhortune.php
rename to src/applications/phortune/application/PhabricatorPhortuneApplication.php
--- a/src/applications/phortune/application/PhabricatorApplicationPhortune.php
+++ b/src/applications/phortune/application/PhabricatorPhortuneApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPhortune extends PhabricatorApplication {
+final class PhabricatorPhortuneApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/phortune/';
diff --git a/src/applications/phortune/provider/PhortunePaymentProvider.php b/src/applications/phortune/provider/PhortunePaymentProvider.php
--- a/src/applications/phortune/provider/PhortunePaymentProvider.php
+++ b/src/applications/phortune/provider/PhortunePaymentProvider.php
@@ -182,7 +182,7 @@
$digest = PhabricatorHash::digestForIndex($this->getProviderKey());
- $app = PhabricatorApplication::getByClass('PhabricatorApplicationPhortune');
+ $app = PhabricatorApplication::getByClass('PhabricatorPhortuneApplication');
$path = $app->getBaseURI().'provider/'.$digest.'/'.$action.'/';
$uri = new PhutilURI($path);
diff --git a/src/applications/phortune/query/PhortuneAccountQuery.php b/src/applications/phortune/query/PhortuneAccountQuery.php
--- a/src/applications/phortune/query/PhortuneAccountQuery.php
+++ b/src/applications/phortune/query/PhortuneAccountQuery.php
@@ -97,7 +97,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhortune';
+ return 'PhabricatorPhortuneApplication';
}
}
diff --git a/src/applications/phortune/query/PhortunePaymentMethodQuery.php b/src/applications/phortune/query/PhortunePaymentMethodQuery.php
--- a/src/applications/phortune/query/PhortunePaymentMethodQuery.php
+++ b/src/applications/phortune/query/PhortunePaymentMethodQuery.php
@@ -112,7 +112,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhortune';
+ return 'PhabricatorPhortuneApplication';
}
}
diff --git a/src/applications/phortune/query/PhortuneProductQuery.php b/src/applications/phortune/query/PhortuneProductQuery.php
--- a/src/applications/phortune/query/PhortuneProductQuery.php
+++ b/src/applications/phortune/query/PhortuneProductQuery.php
@@ -54,7 +54,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhortune';
+ return 'PhabricatorPhortuneApplication';
}
}
diff --git a/src/applications/phpast/application/PhabricatorApplicationPHPAST.php b/src/applications/phpast/application/PhabricatorPHPASTApplication.php
rename from src/applications/phpast/application/PhabricatorApplicationPHPAST.php
rename to src/applications/phpast/application/PhabricatorPHPASTApplication.php
--- a/src/applications/phpast/application/PhabricatorApplicationPHPAST.php
+++ b/src/applications/phpast/application/PhabricatorPHPASTApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPHPAST extends PhabricatorApplication {
+final class PhabricatorPHPASTApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/xhpast/';
diff --git a/src/applications/phragment/application/PhabricatorApplicationPhragment.php b/src/applications/phragment/application/PhabricatorPhragmentApplication.php
rename from src/applications/phragment/application/PhabricatorApplicationPhragment.php
rename to src/applications/phragment/application/PhabricatorPhragmentApplication.php
--- a/src/applications/phragment/application/PhabricatorApplicationPhragment.php
+++ b/src/applications/phragment/application/PhabricatorPhragmentApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPhragment extends PhabricatorApplication {
+final class PhabricatorPhragmentApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/phragment/';
@@ -59,8 +59,7 @@
protected function getCustomCapabilities() {
return array(
- PhragmentCapabilityCanCreate::CAPABILITY => array(
- ),
+ PhragmentCapabilityCanCreate::CAPABILITY => array(),
);
}
diff --git a/src/applications/phragment/conduit/ConduitAPI_phragment_Method.php b/src/applications/phragment/conduit/ConduitAPI_phragment_Method.php
--- a/src/applications/phragment/conduit/ConduitAPI_phragment_Method.php
+++ b/src/applications/phragment/conduit/ConduitAPI_phragment_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_phragment_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationPhragment');
+ 'PhabricatorPhragmentApplication');
}
}
diff --git a/src/applications/phragment/query/PhragmentFragmentQuery.php b/src/applications/phragment/query/PhragmentFragmentQuery.php
--- a/src/applications/phragment/query/PhragmentFragmentQuery.php
+++ b/src/applications/phragment/query/PhragmentFragmentQuery.php
@@ -125,6 +125,6 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhragment';
+ return 'PhabricatorPhragmentApplication';
}
}
diff --git a/src/applications/phragment/query/PhragmentFragmentVersionQuery.php b/src/applications/phragment/query/PhragmentFragmentVersionQuery.php
--- a/src/applications/phragment/query/PhragmentFragmentVersionQuery.php
+++ b/src/applications/phragment/query/PhragmentFragmentVersionQuery.php
@@ -118,6 +118,6 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhragment';
+ return 'PhabricatorPhragmentApplication';
}
}
diff --git a/src/applications/phragment/query/PhragmentSnapshotChildQuery.php b/src/applications/phragment/query/PhragmentSnapshotChildQuery.php
--- a/src/applications/phragment/query/PhragmentSnapshotChildQuery.php
+++ b/src/applications/phragment/query/PhragmentSnapshotChildQuery.php
@@ -169,6 +169,6 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhragment';
+ return 'PhabricatorPhragmentApplication';
}
}
diff --git a/src/applications/phragment/query/PhragmentSnapshotQuery.php b/src/applications/phragment/query/PhragmentSnapshotQuery.php
--- a/src/applications/phragment/query/PhragmentSnapshotQuery.php
+++ b/src/applications/phragment/query/PhragmentSnapshotQuery.php
@@ -105,6 +105,6 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhragment';
+ return 'PhabricatorPhragmentApplication';
}
}
diff --git a/src/applications/phrequent/application/PhabricatorApplicationPhrequent.php b/src/applications/phrequent/application/PhabricatorPhrequentApplication.php
rename from src/applications/phrequent/application/PhabricatorApplicationPhrequent.php
rename to src/applications/phrequent/application/PhabricatorPhrequentApplication.php
--- a/src/applications/phrequent/application/PhabricatorApplicationPhrequent.php
+++ b/src/applications/phrequent/application/PhabricatorPhrequentApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPhrequent extends PhabricatorApplication {
+final class PhabricatorPhrequentApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('Track Time Spent');
diff --git a/src/applications/phrequent/conduit/ConduitAPI_phrequent_Method.php b/src/applications/phrequent/conduit/ConduitAPI_phrequent_Method.php
--- a/src/applications/phrequent/conduit/ConduitAPI_phrequent_Method.php
+++ b/src/applications/phrequent/conduit/ConduitAPI_phrequent_Method.php
@@ -2,10 +2,9 @@
abstract class ConduitAPI_phrequent_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationPhrequent');
+ 'PhabricatorPhrequentApplication');
}
-
}
diff --git a/src/applications/phrequent/query/PhrequentSearchEngine.php b/src/applications/phrequent/query/PhrequentSearchEngine.php
--- a/src/applications/phrequent/query/PhrequentSearchEngine.php
+++ b/src/applications/phrequent/query/PhrequentSearchEngine.php
@@ -1,14 +1,13 @@
<?php
-final class PhrequentSearchEngine
- extends PhabricatorApplicationSearchEngine {
+final class PhrequentSearchEngine extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Phrequent Time');
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationPhrequent';
+ return 'PhabricatorPhrequentApplication';
}
public function getPageSize(PhabricatorSavedQuery $saved) {
@@ -203,4 +202,5 @@
return $view;
}
+
}
diff --git a/src/applications/phrequent/query/PhrequentUserTimeQuery.php b/src/applications/phrequent/query/PhrequentUserTimeQuery.php
--- a/src/applications/phrequent/query/PhrequentUserTimeQuery.php
+++ b/src/applications/phrequent/query/PhrequentUserTimeQuery.php
@@ -304,7 +304,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhrequent';
+ return 'PhabricatorPhrequentApplication';
}
}
diff --git a/src/applications/phriction/application/PhabricatorApplicationPhriction.php b/src/applications/phriction/application/PhabricatorPhrictionApplication.php
rename from src/applications/phriction/application/PhabricatorApplicationPhriction.php
rename to src/applications/phriction/application/PhabricatorPhrictionApplication.php
--- a/src/applications/phriction/application/PhabricatorApplicationPhriction.php
+++ b/src/applications/phriction/application/PhabricatorPhrictionApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPhriction extends PhabricatorApplication {
+final class PhabricatorPhrictionApplication extends PhabricatorApplication {
public function getShortDescription() {
return pht('Wiki');
diff --git a/src/applications/phriction/conduit/ConduitAPI_phriction_Method.php b/src/applications/phriction/conduit/ConduitAPI_phriction_Method.php
--- a/src/applications/phriction/conduit/ConduitAPI_phriction_Method.php
+++ b/src/applications/phriction/conduit/ConduitAPI_phriction_Method.php
@@ -4,7 +4,7 @@
public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationPhriction');
+ 'PhabricatorPhrictionApplication');
}
final protected function buildDocumentInfoDictionary(PhrictionDocument $doc) {
diff --git a/src/applications/phriction/phid/PhrictionPHIDTypeDocument.php b/src/applications/phriction/phid/PhrictionPHIDTypeDocument.php
--- a/src/applications/phriction/phid/PhrictionPHIDTypeDocument.php
+++ b/src/applications/phriction/phid/PhrictionPHIDTypeDocument.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationPhriction';
+ return 'PhabricatorPhrictionApplication';
}
public function newObject() {
diff --git a/src/applications/phriction/query/PhrictionDocumentQuery.php b/src/applications/phriction/query/PhrictionDocumentQuery.php
--- a/src/applications/phriction/query/PhrictionDocumentQuery.php
+++ b/src/applications/phriction/query/PhrictionDocumentQuery.php
@@ -269,7 +269,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPhriction';
+ return 'PhabricatorPhrictionApplication';
}
}
diff --git a/src/applications/policy/application/PhabricatorApplicationPolicy.php b/src/applications/policy/application/PhabricatorPolicyApplication.php
rename from src/applications/policy/application/PhabricatorApplicationPolicy.php
rename to src/applications/policy/application/PhabricatorPolicyApplication.php
--- a/src/applications/policy/application/PhabricatorApplicationPolicy.php
+++ b/src/applications/policy/application/PhabricatorPolicyApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPolicy extends PhabricatorApplication {
+final class PhabricatorPolicyApplication extends PhabricatorApplication {
public function isLaunchable() {
return false;
diff --git a/src/applications/policy/query/PhabricatorPolicyQuery.php b/src/applications/policy/query/PhabricatorPolicyQuery.php
--- a/src/applications/policy/query/PhabricatorPolicyQuery.php
+++ b/src/applications/policy/query/PhabricatorPolicyQuery.php
@@ -230,7 +230,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPolicy';
+ return 'PhabricatorPolicyApplication';
}
}
diff --git a/src/applications/ponder/application/PhabricatorApplicationPonder.php b/src/applications/ponder/application/PhabricatorPonderApplication.php
rename from src/applications/ponder/application/PhabricatorApplicationPonder.php
rename to src/applications/ponder/application/PhabricatorPonderApplication.php
--- a/src/applications/ponder/application/PhabricatorApplicationPonder.php
+++ b/src/applications/ponder/application/PhabricatorPonderApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationPonder extends PhabricatorApplication {
+final class PhabricatorPonderApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/ponder/';
diff --git a/src/applications/ponder/mail/PonderQuestionMailReceiver.php b/src/applications/ponder/mail/PonderQuestionMailReceiver.php
--- a/src/applications/ponder/mail/PonderQuestionMailReceiver.php
+++ b/src/applications/ponder/mail/PonderQuestionMailReceiver.php
@@ -3,7 +3,7 @@
final class PonderQuestionMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationPonder';
+ $app_class = 'PhabricatorPonderApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/ponder/phid/PonderPHIDTypeQuestion.php b/src/applications/ponder/phid/PonderPHIDTypeQuestion.php
--- a/src/applications/ponder/phid/PonderPHIDTypeQuestion.php
+++ b/src/applications/ponder/phid/PonderPHIDTypeQuestion.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationPonder';
+ return 'PhabricatorPonderApplication';
}
public function newObject() {
diff --git a/src/applications/ponder/query/PonderAnswerQuery.php b/src/applications/ponder/query/PonderAnswerQuery.php
--- a/src/applications/ponder/query/PonderAnswerQuery.php
+++ b/src/applications/ponder/query/PonderAnswerQuery.php
@@ -125,7 +125,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPonder';
+ return 'PhabricatorPonderApplication';
}
}
diff --git a/src/applications/ponder/query/PonderQuestionQuery.php b/src/applications/ponder/query/PonderQuestionQuery.php
--- a/src/applications/ponder/query/PonderQuestionQuery.php
+++ b/src/applications/ponder/query/PonderQuestionQuery.php
@@ -196,7 +196,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationPonder';
+ return 'PhabricatorPonderApplication';
}
}
diff --git a/src/applications/ponder/query/PonderQuestionSearchEngine.php b/src/applications/ponder/query/PonderQuestionSearchEngine.php
--- a/src/applications/ponder/query/PonderQuestionSearchEngine.php
+++ b/src/applications/ponder/query/PonderQuestionSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationPonder';
+ return 'PhabricatorPonderApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/project/application/PhabricatorApplicationProject.php b/src/applications/project/application/PhabricatorProjectApplication.php
rename from src/applications/project/application/PhabricatorApplicationProject.php
rename to src/applications/project/application/PhabricatorProjectApplication.php
--- a/src/applications/project/application/PhabricatorApplicationProject.php
+++ b/src/applications/project/application/PhabricatorProjectApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationProject extends PhabricatorApplication {
+final class PhabricatorProjectApplication extends PhabricatorApplication {
public function getName() {
return pht('Projects');
@@ -90,8 +90,7 @@
protected function getCustomCapabilities() {
return array(
- ProjectCapabilityCreateProjects::CAPABILITY => array(
- ),
+ ProjectCapabilityCreateProjects::CAPABILITY => array(),
);
}
diff --git a/src/applications/project/conduit/ConduitAPI_project_Method.php b/src/applications/project/conduit/ConduitAPI_project_Method.php
--- a/src/applications/project/conduit/ConduitAPI_project_Method.php
+++ b/src/applications/project/conduit/ConduitAPI_project_Method.php
@@ -3,8 +3,7 @@
abstract class ConduitAPI_project_Method extends ConduitAPIMethod {
public function getApplication() {
- return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationProject');
+ return PhabricatorApplication::getByClass('PhabricatorProjectApplication');
}
protected function buildProjectInfoDictionary(PhabricatorProject $project) {
diff --git a/src/applications/project/phid/PhabricatorProjectPHIDTypeProject.php b/src/applications/project/phid/PhabricatorProjectPHIDTypeProject.php
--- a/src/applications/project/phid/PhabricatorProjectPHIDTypeProject.php
+++ b/src/applications/project/phid/PhabricatorProjectPHIDTypeProject.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationProject';
+ return 'PhabricatorProjectApplication';
}
public function getTypeIcon() {
diff --git a/src/applications/project/query/PhabricatorProjectColumnQuery.php b/src/applications/project/query/PhabricatorProjectColumnQuery.php
--- a/src/applications/project/query/PhabricatorProjectColumnQuery.php
+++ b/src/applications/project/query/PhabricatorProjectColumnQuery.php
@@ -106,7 +106,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationProject';
+ return 'PhabricatorProjectApplication';
}
}
diff --git a/src/applications/project/query/PhabricatorProjectQuery.php b/src/applications/project/query/PhabricatorProjectQuery.php
--- a/src/applications/project/query/PhabricatorProjectQuery.php
+++ b/src/applications/project/query/PhabricatorProjectQuery.php
@@ -352,7 +352,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationProject';
+ return 'PhabricatorProjectApplication';
}
protected function getApplicationSearchObjectPHIDColumn() {
diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php
--- a/src/applications/project/query/PhabricatorProjectSearchEngine.php
+++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationProject';
+ return 'PhabricatorProjectApplication';
}
public function getCustomFieldObject() {
diff --git a/src/applications/project/typeahead/PhabricatorProjectDatasource.php b/src/applications/project/typeahead/PhabricatorProjectDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationProject';
+ return 'PhabricatorProjectApplication';
}
public function loadResults() {
diff --git a/src/applications/releeph/application/PhabricatorApplicationReleeph.php b/src/applications/releeph/application/PhabricatorReleephApplication.php
rename from src/applications/releeph/application/PhabricatorApplicationReleeph.php
rename to src/applications/releeph/application/PhabricatorReleephApplication.php
--- a/src/applications/releeph/application/PhabricatorApplicationReleeph.php
+++ b/src/applications/releeph/application/PhabricatorReleephApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationReleeph extends PhabricatorApplication {
+final class PhabricatorReleephApplication extends PhabricatorApplication {
public function getName() {
return pht('Releeph');
diff --git a/src/applications/releeph/conduit/ConduitAPI_releeph_Method.php b/src/applications/releeph/conduit/ConduitAPI_releeph_Method.php
--- a/src/applications/releeph/conduit/ConduitAPI_releeph_Method.php
+++ b/src/applications/releeph/conduit/ConduitAPI_releeph_Method.php
@@ -11,7 +11,7 @@
}
public function getApplication() {
- return PhabricatorApplication::getByClass('PhabricatorApplicationReleeph');
+ return PhabricatorApplication::getByClass('PhabricatorReleephApplication');
}
}
diff --git a/src/applications/releeph/mail/ReleephRequestMailReceiver.php b/src/applications/releeph/mail/ReleephRequestMailReceiver.php
--- a/src/applications/releeph/mail/ReleephRequestMailReceiver.php
+++ b/src/applications/releeph/mail/ReleephRequestMailReceiver.php
@@ -3,7 +3,7 @@
final class ReleephRequestMailReceiver extends PhabricatorObjectMailReceiver {
public function isEnabled() {
- $app_class = 'PhabricatorApplicationReleeph';
+ $app_class = 'PhabricatorReleephApplication';
return PhabricatorApplication::isClassInstalled($app_class);
}
diff --git a/src/applications/releeph/query/ReleephBranchQuery.php b/src/applications/releeph/query/ReleephBranchQuery.php
--- a/src/applications/releeph/query/ReleephBranchQuery.php
+++ b/src/applications/releeph/query/ReleephBranchQuery.php
@@ -148,7 +148,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationReleeph';
+ return 'PhabricatorReleephApplication';
}
}
diff --git a/src/applications/releeph/query/ReleephProductQuery.php b/src/applications/releeph/query/ReleephProductQuery.php
--- a/src/applications/releeph/query/ReleephProductQuery.php
+++ b/src/applications/releeph/query/ReleephProductQuery.php
@@ -169,7 +169,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationReleeph';
+ return 'PhabricatorReleephApplication';
}
}
diff --git a/src/applications/releeph/query/ReleephProductSearchEngine.php b/src/applications/releeph/query/ReleephProductSearchEngine.php
--- a/src/applications/releeph/query/ReleephProductSearchEngine.php
+++ b/src/applications/releeph/query/ReleephProductSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationReleeph';
+ return 'PhabricatorReleephApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/releeph/query/ReleephRequestQuery.php b/src/applications/releeph/query/ReleephRequestQuery.php
--- a/src/applications/releeph/query/ReleephRequestQuery.php
+++ b/src/applications/releeph/query/ReleephRequestQuery.php
@@ -241,9 +241,8 @@
}
}
-
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationReleeph';
+ return 'PhabricatorReleephApplication';
}
}
diff --git a/src/applications/repository/application/PhabricatorApplicationRepositories.php b/src/applications/repository/application/PhabricatorRepositoriesApplication.php
rename from src/applications/repository/application/PhabricatorApplicationRepositories.php
rename to src/applications/repository/application/PhabricatorRepositoriesApplication.php
--- a/src/applications/repository/application/PhabricatorApplicationRepositories.php
+++ b/src/applications/repository/application/PhabricatorRepositoriesApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationRepositories extends PhabricatorApplication {
+final class PhabricatorRepositoriesApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/repository/';
@@ -25,7 +25,7 @@
public function getRoutes() {
return array(
'/repository/' => array(
- '' => 'PhabricatorRepositoryListController',
+ '' => 'PhabricatorRepositoryListController',
'project/edit/(?P<id>[1-9]\d*)/' =>
'PhabricatorRepositoryArcanistProjectEditController',
'project/delete/(?P<id>[1-9]\d*)/' =>
diff --git a/src/applications/repository/conduit/ConduitAPI_repository_Method.php b/src/applications/repository/conduit/ConduitAPI_repository_Method.php
--- a/src/applications/repository/conduit/ConduitAPI_repository_Method.php
+++ b/src/applications/repository/conduit/ConduitAPI_repository_Method.php
@@ -2,9 +2,9 @@
abstract class ConduitAPI_repository_Method extends ConduitAPIMethod {
- public function getApplication() {
+ final public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationDiffusion');
+ 'PhabricatorDiffusionApplication');
}
}
diff --git a/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php b/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php
--- a/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php
+++ b/src/applications/repository/conduit/ConduitAPI_repository_create_Method.php
@@ -58,7 +58,7 @@
protected function execute(ConduitAPIRequest $request) {
$application = id(new PhabricatorApplicationQuery())
->setViewer($request->getUser())
- ->withClasses(array('PhabricatorApplicationDiffusion'))
+ ->withClasses(array('PhabricatorDiffusionApplication'))
->executeOne();
PhabricatorPolicyFilter::requireCapability(
diff --git a/src/applications/repository/phid/PhabricatorRepositoryPHIDTypeCommit.php b/src/applications/repository/phid/PhabricatorRepositoryPHIDTypeCommit.php
--- a/src/applications/repository/phid/PhabricatorRepositoryPHIDTypeCommit.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryPHIDTypeCommit.php
@@ -13,7 +13,7 @@
}
public function getPHIDTypeApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function newObject() {
diff --git a/src/applications/repository/query/PhabricatorRepositoryMirrorQuery.php b/src/applications/repository/query/PhabricatorRepositoryMirrorQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryMirrorQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryMirrorQuery.php
@@ -95,7 +95,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php b/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
@@ -126,7 +126,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php b/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
@@ -142,7 +142,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
--- a/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
+++ b/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/repository/query/PhabricatorRepositoryQuery.php b/src/applications/repository/query/PhabricatorRepositoryQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryQuery.php
@@ -424,7 +424,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
private function getNormalizedPaths() {
diff --git a/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php b/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
@@ -95,7 +95,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
}
diff --git a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
--- a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
+++ b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationDiffusion';
+ return 'PhabricatorDiffusionApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -51,7 +51,7 @@
public static function initializeNewRepository(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationDiffusion'))
+ ->withClasses(array('PhabricatorDiffusionApplication'))
->executeOne();
$view_policy = $app->getPolicy(DiffusionCapabilityDefaultView::CAPABILITY);
diff --git a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
--- a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
+++ b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
@@ -409,7 +409,7 @@
PhabricatorRepositoryCommit $commit,
$message) {
- $maniphest = 'PhabricatorApplicationManiphest';
+ $maniphest = 'PhabricatorManiphestApplication';
if (!PhabricatorApplication::isClassInstalled($maniphest)) {
return;
}
diff --git a/src/applications/search/application/PhabricatorApplicationSearch.php b/src/applications/search/application/PhabricatorSearchApplication.php
rename from src/applications/search/application/PhabricatorApplicationSearch.php
rename to src/applications/search/application/PhabricatorSearchApplication.php
--- a/src/applications/search/application/PhabricatorApplicationSearch.php
+++ b/src/applications/search/application/PhabricatorSearchApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationSearch extends PhabricatorApplication {
+final class PhabricatorSearchApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/search/';
@@ -41,7 +41,7 @@
'delete/(?P<queryKey>[^/]+)/(?P<engine>[^/]+)/'
=> 'PhabricatorSearchDeleteController',
'order/(?P<engine>[^/]+)/' => 'PhabricatorSearchOrderController',
- ),
+ ),
);
}
diff --git a/src/applications/search/query/PhabricatorNamedQueryQuery.php b/src/applications/search/query/PhabricatorNamedQueryQuery.php
--- a/src/applications/search/query/PhabricatorNamedQueryQuery.php
+++ b/src/applications/search/query/PhabricatorNamedQueryQuery.php
@@ -81,7 +81,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationSearch';
+ return 'PhabricatorSearchApplication';
}
}
diff --git a/src/applications/search/query/PhabricatorSavedQueryQuery.php b/src/applications/search/query/PhabricatorSavedQueryQuery.php
--- a/src/applications/search/query/PhabricatorSavedQueryQuery.php
+++ b/src/applications/search/query/PhabricatorSavedQueryQuery.php
@@ -68,7 +68,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationSearch';
+ return 'PhabricatorSearchApplication';
}
}
diff --git a/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php b/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
--- a/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
+++ b/src/applications/search/query/PhabricatorSearchApplicationSearchEngine.php
@@ -8,7 +8,7 @@
}
public function getApplicationClassName() {
- return 'PhabricatorApplicationSearch';
+ return 'PhabricatorSearchApplication';
}
public function buildSavedQueryFromRequest(AphrontRequest $request) {
diff --git a/src/applications/search/query/PhabricatorSearchDocumentQuery.php b/src/applications/search/query/PhabricatorSearchDocumentQuery.php
--- a/src/applications/search/query/PhabricatorSearchDocumentQuery.php
+++ b/src/applications/search/query/PhabricatorSearchDocumentQuery.php
@@ -67,7 +67,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationSearch';
+ return 'PhabricatorSearchApplication';
}
protected function getPagingValue($result) {
diff --git a/src/applications/search/typeahead/PhabricatorSearchDatasource.php b/src/applications/search/typeahead/PhabricatorSearchDatasource.php
--- a/src/applications/search/typeahead/PhabricatorSearchDatasource.php
+++ b/src/applications/search/typeahead/PhabricatorSearchDatasource.php
@@ -8,7 +8,7 @@
}
public function getDatasourceApplicationClass() {
- return 'PhabricatorApplicationSearch';
+ return 'PhabricatorSearchApplication';
}
public function getComponentDatasources() {
diff --git a/src/applications/settings/application/PhabricatorApplicationSettings.php b/src/applications/settings/application/PhabricatorSettingsApplication.php
rename from src/applications/settings/application/PhabricatorApplicationSettings.php
rename to src/applications/settings/application/PhabricatorSettingsApplication.php
--- a/src/applications/settings/application/PhabricatorApplicationSettings.php
+++ b/src/applications/settings/application/PhabricatorSettingsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationSettings extends PhabricatorApplication {
+final class PhabricatorSettingsApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/settings/';
diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelConpherencePreferences.php b/src/applications/settings/panel/PhabricatorSettingsPanelConpherencePreferences.php
--- a/src/applications/settings/panel/PhabricatorSettingsPanelConpherencePreferences.php
+++ b/src/applications/settings/panel/PhabricatorSettingsPanelConpherencePreferences.php
@@ -5,7 +5,7 @@
public function isEnabled() {
return PhabricatorApplication::isClassInstalled(
- 'PhabricatorApplicationConpherence');
+ 'PhabricatorConpherenceApplication');
}
public function getPanelKey() {
diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelEmailPreferences.php b/src/applications/settings/panel/PhabricatorSettingsPanelEmailPreferences.php
--- a/src/applications/settings/panel/PhabricatorSettingsPanelEmailPreferences.php
+++ b/src/applications/settings/panel/PhabricatorSettingsPanelEmailPreferences.php
@@ -53,12 +53,12 @@
$mailtags = $preferences->getPreference('mailtags', array());
$all_tags = $this->getMailTags();
- $maniphest = 'PhabricatorApplicationManiphest';
+ $maniphest = 'PhabricatorManiphestApplication';
if (!PhabricatorApplication::isClassInstalled($maniphest)) {
$all_tags = array_diff_key($all_tags, $this->getManiphestMailTags());
}
- $pholio = 'PhabricatorApplicationPholio';
+ $pholio = 'PhabricatorPholioApplication';
if (!PhabricatorApplication::isClassInstalled($pholio)) {
$all_tags = array_diff_key($all_tags, $this->getPholioMailTags());
}
@@ -186,7 +186,7 @@
'**Phabricator will send an email to your primary account when:**'));
if (PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationDifferential', $user)) {
+ 'PhabricatorDifferentialApplication', $user)) {
$form
->appendChild(
$this->buildMailTagCheckboxes(
@@ -196,7 +196,7 @@
}
if (PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationManiphest', $user)) {
+ 'PhabricatorManiphestApplication', $user)) {
$form->appendChild(
$this->buildMailTagCheckboxes(
$this->getManiphestMailTags(),
@@ -205,7 +205,7 @@
}
if (PhabricatorApplication::isClassInstalledForViewer(
- 'PhabricatorApplicationPholio', $user)) {
+ 'PhabricatorPholioApplication', $user)) {
$form->appendChild(
$this->buildMailTagCheckboxes(
$this->getPholioMailTags(),
diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelHomePreferences.php b/src/applications/settings/panel/PhabricatorSettingsPanelHomePreferences.php
--- a/src/applications/settings/panel/PhabricatorSettingsPanelHomePreferences.php
+++ b/src/applications/settings/panel/PhabricatorSettingsPanelHomePreferences.php
@@ -42,7 +42,7 @@
}
asort($options);
- unset($options['PhabricatorApplicationApplications']);
+ unset($options['PhabricatorApplicationsApplication']);
if ($request->isFormPost()) {
$pin = $request->getStr('pin');
@@ -137,7 +137,7 @@
));
foreach ($app_list as $key => $application) {
- if ($key == 'PhabricatorApplicationApplications') {
+ if ($key == 'PhabricatorApplicationsApplication') {
continue;
}
diff --git a/src/applications/slowvote/application/PhabricatorApplicationSlowvote.php b/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php
rename from src/applications/slowvote/application/PhabricatorApplicationSlowvote.php
rename to src/applications/slowvote/application/PhabricatorSlowvoteApplication.php
--- a/src/applications/slowvote/application/PhabricatorApplicationSlowvote.php
+++ b/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationSlowvote extends PhabricatorApplication {
+final class PhabricatorSlowvoteApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/vote/';
diff --git a/src/applications/slowvote/conduit/ConduitAPI_slowvote_Method.php b/src/applications/slowvote/conduit/ConduitAPI_slowvote_Method.php
--- a/src/applications/slowvote/conduit/ConduitAPI_slowvote_Method.php
+++ b/src/applications/slowvote/conduit/ConduitAPI_slowvote_Method.php
@@ -4,7 +4,7 @@
public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationSlowvote');
+ 'PhabricatorSlowvoteApplication');
}
}
diff --git a/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php b/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php
--- a/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php
+++ b/src/applications/slowvote/query/PhabricatorSlowvoteQuery.php
@@ -180,7 +180,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationSlowvote';
+ return 'PhabricatorSlowvoteApplication';
}
}
diff --git a/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php b/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php
--- a/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php
+++ b/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php
@@ -31,7 +31,7 @@
public static function initializeNewPoll(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
- ->withClasses(array('PhabricatorApplicationSlowvote'))
+ ->withClasses(array('PhabricatorSlowvoteApplication'))
->executeOne();
$view_policy = $app->getPolicy(
diff --git a/src/applications/subscriptions/application/PhabricatorApplicationSubscriptions.php b/src/applications/subscriptions/application/PhabricatorSubscriptionsApplication.php
rename from src/applications/subscriptions/application/PhabricatorApplicationSubscriptions.php
rename to src/applications/subscriptions/application/PhabricatorSubscriptionsApplication.php
--- a/src/applications/subscriptions/application/PhabricatorApplicationSubscriptions.php
+++ b/src/applications/subscriptions/application/PhabricatorSubscriptionsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationSubscriptions extends PhabricatorApplication {
+final class PhabricatorSubscriptionsApplication extends PhabricatorApplication {
public function isLaunchable() {
return false;
diff --git a/src/applications/support/application/PhabricatorApplicationSupport.php b/src/applications/support/application/PhabricatorSupportApplication.php
rename from src/applications/support/application/PhabricatorApplicationSupport.php
rename to src/applications/support/application/PhabricatorSupportApplication.php
--- a/src/applications/support/application/PhabricatorApplicationSupport.php
+++ b/src/applications/support/application/PhabricatorSupportApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationSupport extends PhabricatorApplication {
+final class PhabricatorSupportApplication extends PhabricatorApplication {
public function canUninstall() {
return false;
diff --git a/src/applications/system/application/PhabricatorApplicationSystem.php b/src/applications/system/application/PhabricatorSystemApplication.php
rename from src/applications/system/application/PhabricatorApplicationSystem.php
rename to src/applications/system/application/PhabricatorSystemApplication.php
--- a/src/applications/system/application/PhabricatorApplicationSystem.php
+++ b/src/applications/system/application/PhabricatorSystemApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationSystem extends PhabricatorApplication {
+final class PhabricatorSystemApplication extends PhabricatorApplication {
public function canUninstall() {
return false;
diff --git a/src/applications/tokens/application/PhabricatorApplicationTokens.php b/src/applications/tokens/application/PhabricatorTokensApplication.php
rename from src/applications/tokens/application/PhabricatorApplicationTokens.php
rename to src/applications/tokens/application/PhabricatorTokensApplication.php
--- a/src/applications/tokens/application/PhabricatorApplicationTokens.php
+++ b/src/applications/tokens/application/PhabricatorTokensApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationTokens extends PhabricatorApplication {
+final class PhabricatorTokensApplication extends PhabricatorApplication {
public function getName() {
return pht('Tokens');
diff --git a/src/applications/tokens/conduit/ConduitAPI_token_Method.php b/src/applications/tokens/conduit/ConduitAPI_token_Method.php
--- a/src/applications/tokens/conduit/ConduitAPI_token_Method.php
+++ b/src/applications/tokens/conduit/ConduitAPI_token_Method.php
@@ -4,7 +4,7 @@
public function getApplication() {
return PhabricatorApplication::getByClass(
- 'PhabricatorApplicationTokens');
+ 'PhabricatorTokensApplication');
}
public function getMethodStatus() {
diff --git a/src/applications/tokens/query/PhabricatorTokenGivenQuery.php b/src/applications/tokens/query/PhabricatorTokenGivenQuery.php
--- a/src/applications/tokens/query/PhabricatorTokenGivenQuery.php
+++ b/src/applications/tokens/query/PhabricatorTokenGivenQuery.php
@@ -90,7 +90,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationTokens';
+ return 'PhabricatorTokensApplication';
}
}
diff --git a/src/applications/tokens/query/PhabricatorTokenQuery.php b/src/applications/tokens/query/PhabricatorTokenQuery.php
--- a/src/applications/tokens/query/PhabricatorTokenQuery.php
+++ b/src/applications/tokens/query/PhabricatorTokenQuery.php
@@ -63,7 +63,7 @@
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationTokens';
+ return 'PhabricatorTokensApplication';
}
}
diff --git a/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php b/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php
--- a/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php
+++ b/src/applications/tokens/query/PhabricatorTokenReceiverQuery.php
@@ -35,7 +35,7 @@
}
public function getQueryApplicationClass() {
- return 'PhabricatorApplicationTokens';
+ return 'PhabricatorTokensApplication';
}
}
diff --git a/src/applications/transactions/application/PhabricatorApplicationTransactions.php b/src/applications/transactions/application/PhabricatorTransactionsApplication.php
rename from src/applications/transactions/application/PhabricatorApplicationTransactions.php
rename to src/applications/transactions/application/PhabricatorTransactionsApplication.php
--- a/src/applications/transactions/application/PhabricatorApplicationTransactions.php
+++ b/src/applications/transactions/application/PhabricatorTransactionsApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationTransactions extends PhabricatorApplication {
+final class PhabricatorTransactionsApplication extends PhabricatorApplication {
public function isLaunchable() {
return false;
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -716,7 +716,7 @@
// Herald application) as the author of record, so that transactions
// will render in a reasonable way ("Herald assigned this task ...").
$herald_actor = PhabricatorUser::getOmnipotentUser();
- $herald_phid = id(new PhabricatorApplicationHerald())->getPHID();
+ $herald_phid = id(new PhabricatorHeraldApplication())->getPHID();
// TODO: It would be nice to give transactions a more specific source
// which points at the rule which generated them. You can figure this
diff --git a/src/applications/typeahead/application/PhabricatorApplicationTypeahead.php b/src/applications/typeahead/application/PhabricatorTypeaheadApplication.php
rename from src/applications/typeahead/application/PhabricatorApplicationTypeahead.php
rename to src/applications/typeahead/application/PhabricatorTypeaheadApplication.php
--- a/src/applications/typeahead/application/PhabricatorApplicationTypeahead.php
+++ b/src/applications/typeahead/application/PhabricatorTypeaheadApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationTypeahead extends PhabricatorApplication {
+final class PhabricatorTypeaheadApplication extends PhabricatorApplication {
public function getRoutes() {
return array(
diff --git a/src/applications/uiexample/application/PhabricatorApplicationUIExamples.php b/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php
rename from src/applications/uiexample/application/PhabricatorApplicationUIExamples.php
rename to src/applications/uiexample/application/PhabricatorUIExamplesApplication.php
--- a/src/applications/uiexample/application/PhabricatorApplicationUIExamples.php
+++ b/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationUIExamples extends PhabricatorApplication {
+final class PhabricatorUIExamplesApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/uiexample/';
diff --git a/src/applications/xhprof/application/PhabricatorApplicationXHProf.php b/src/applications/xhprof/application/PhabricatorXHProfApplication.php
rename from src/applications/xhprof/application/PhabricatorApplicationXHProf.php
rename to src/applications/xhprof/application/PhabricatorXHProfApplication.php
--- a/src/applications/xhprof/application/PhabricatorApplicationXHProf.php
+++ b/src/applications/xhprof/application/PhabricatorXHProfApplication.php
@@ -1,6 +1,6 @@
<?php
-final class PhabricatorApplicationXHProf extends PhabricatorApplication {
+final class PhabricatorXHProfApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/xhprof/';
@@ -32,5 +32,4 @@
);
}
-
}
diff --git a/src/view/page/menu/PhabricatorMainMenuView.php b/src/view/page/menu/PhabricatorMainMenuView.php
--- a/src/view/page/menu/PhabricatorMainMenuView.php
+++ b/src/view/page/menu/PhabricatorMainMenuView.php
@@ -278,7 +278,7 @@
$message_tag = '';
$message_notification_dropdown = '';
- $conpherence = 'PhabricatorApplicationConpherence';
+ $conpherence = 'PhabricatorConpherenceApplication';
if (PhabricatorApplication::isClassInstalledForViewer(
$conpherence,
$user)) {
@@ -364,7 +364,7 @@
$bubble_tag = '';
$notification_dropdown = '';
- $notification_app = 'PhabricatorApplicationNotifications';
+ $notification_app = 'PhabricatorNotificationsApplication';
if (PhabricatorApplication::isClassInstalledForViewer(
$notification_app,
$user)) {

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 3:39 AM (9 h, 45 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7077070
Default Alt Text
D9982.id23993.diff (261 KB)

Event Timeline