mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Rename PhutilRemarkupRule
subclasses
Summary: Ref T5655. Depends on D9993. Test Plan: See D9993. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5655 Differential Revision: https://secure.phabricator.com/D9994
This commit is contained in:
parent
c9fe162470
commit
f055736eca
40 changed files with 103 additions and 115 deletions
|
@ -539,11 +539,11 @@ phutil_register_library_map(array(
|
|||
'DivinerParameterTableView' => 'applications/diviner/view/DivinerParameterTableView.php',
|
||||
'DivinerPublishCache' => 'applications/diviner/cache/DivinerPublishCache.php',
|
||||
'DivinerPublisher' => 'applications/diviner/publisher/DivinerPublisher.php',
|
||||
'DivinerRemarkupRuleSymbol' => 'applications/diviner/markup/DivinerRemarkupRuleSymbol.php',
|
||||
'DivinerRenderer' => 'applications/diviner/renderer/DivinerRenderer.php',
|
||||
'DivinerReturnTableView' => 'applications/diviner/view/DivinerReturnTableView.php',
|
||||
'DivinerSectionView' => 'applications/diviner/view/DivinerSectionView.php',
|
||||
'DivinerStaticPublisher' => 'applications/diviner/publisher/DivinerStaticPublisher.php',
|
||||
'DivinerSymbolRemarkupRule' => 'applications/diviner/markup/DivinerSymbolRemarkupRule.php',
|
||||
'DivinerWorkflow' => 'applications/diviner/workflow/DivinerWorkflow.php',
|
||||
'DoorkeeperBridge' => 'applications/doorkeeper/bridge/DoorkeeperBridge.php',
|
||||
'DoorkeeperBridgeAsana' => 'applications/doorkeeper/bridge/DoorkeeperBridgeAsana.php',
|
||||
|
@ -1467,6 +1467,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorEditor' => 'infrastructure/PhabricatorEditor.php',
|
||||
'PhabricatorEmailLoginController' => 'applications/auth/controller/PhabricatorEmailLoginController.php',
|
||||
'PhabricatorEmailVerificationController' => 'applications/auth/controller/PhabricatorEmailVerificationController.php',
|
||||
'PhabricatorEmbedFileRemarkupRule' => 'applications/files/markup/PhabricatorEmbedFileRemarkupRule.php',
|
||||
'PhabricatorEmptyQueryException' => 'infrastructure/query/PhabricatorEmptyQueryException.php',
|
||||
'PhabricatorEnglishTranslation' => 'infrastructure/internationalization/translation/PhabricatorEnglishTranslation.php',
|
||||
'PhabricatorEnv' => 'infrastructure/env/PhabricatorEnv.php',
|
||||
|
@ -1614,6 +1615,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorHunksManagementMigrateWorkflow' => 'applications/differential/management/PhabricatorHunksManagementMigrateWorkflow.php',
|
||||
'PhabricatorHunksManagementWorkflow' => 'applications/differential/management/PhabricatorHunksManagementWorkflow.php',
|
||||
'PhabricatorIRCProtocolAdapter' => 'infrastructure/daemon/bot/adapter/PhabricatorIRCProtocolAdapter.php',
|
||||
'PhabricatorIconRemarkupRule' => 'applications/macro/markup/PhabricatorIconRemarkupRule.php',
|
||||
'PhabricatorImageMacroRemarkupRule' => 'applications/macro/markup/PhabricatorImageMacroRemarkupRule.php',
|
||||
'PhabricatorImageTransformer' => 'applications/files/PhabricatorImageTransformer.php',
|
||||
'PhabricatorInfrastructureTestCase' => '__tests__/PhabricatorInfrastructureTestCase.php',
|
||||
'PhabricatorInlineCommentController' => 'infrastructure/diff/PhabricatorInlineCommentController.php',
|
||||
|
@ -1704,6 +1707,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMarkupInterface' => 'infrastructure/markup/PhabricatorMarkupInterface.php',
|
||||
'PhabricatorMarkupOneOff' => 'infrastructure/markup/PhabricatorMarkupOneOff.php',
|
||||
'PhabricatorMarkupPreviewController' => 'infrastructure/markup/PhabricatorMarkupPreviewController.php',
|
||||
'PhabricatorMemeRemarkupRule' => 'applications/macro/markup/PhabricatorMemeRemarkupRule.php',
|
||||
'PhabricatorMentionRemarkupRule' => 'applications/people/markup/PhabricatorMentionRemarkupRule.php',
|
||||
'PhabricatorMercurialGraphStream' => 'applications/repository/daemon/PhabricatorMercurialGraphStream.php',
|
||||
'PhabricatorMetaMTAActor' => 'applications/metamta/query/PhabricatorMetaMTAActor.php',
|
||||
'PhabricatorMetaMTAActorQuery' => 'applications/metamta/query/PhabricatorMetaMTAActorQuery.php',
|
||||
|
@ -1787,6 +1792,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorObjectMailReceiver' => 'applications/metamta/receiver/PhabricatorObjectMailReceiver.php',
|
||||
'PhabricatorObjectMailReceiverTestCase' => 'applications/metamta/receiver/__tests__/PhabricatorObjectMailReceiverTestCase.php',
|
||||
'PhabricatorObjectQuery' => 'applications/phid/query/PhabricatorObjectQuery.php',
|
||||
'PhabricatorObjectRemarkupRule' => 'infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php',
|
||||
'PhabricatorObjectSelectorDialog' => 'view/control/PhabricatorObjectSelectorDialog.php',
|
||||
'PhabricatorOffsetPagedQuery' => 'infrastructure/query/PhabricatorOffsetPagedQuery.php',
|
||||
'PhabricatorOwnerPathQuery' => 'applications/owners/query/PhabricatorOwnerPathQuery.php',
|
||||
|
@ -1977,20 +1983,13 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRegistrationProfile' => 'applications/people/storage/PhabricatorRegistrationProfile.php',
|
||||
'PhabricatorReleephApplication' => 'applications/releeph/application/PhabricatorReleephApplication.php',
|
||||
'PhabricatorReleephApplicationConfigOptions' => 'applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php',
|
||||
'PhabricatorRemarkupBlockInterpreterCowsay' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterCowsay.php',
|
||||
'PhabricatorRemarkupBlockInterpreterFiglet' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterFiglet.php',
|
||||
'PhabricatorRemarkupBlockInterpreterGraphviz' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterGraphviz.php',
|
||||
'PhabricatorRemarkupControl' => 'view/form/control/PhabricatorRemarkupControl.php',
|
||||
'PhabricatorRemarkupCowsayBlockInterpreter' => 'infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php',
|
||||
'PhabricatorRemarkupCustomBlockRule' => 'infrastructure/markup/rule/PhabricatorRemarkupCustomBlockRule.php',
|
||||
'PhabricatorRemarkupCustomInlineRule' => 'infrastructure/markup/rule/PhabricatorRemarkupCustomInlineRule.php',
|
||||
'PhabricatorRemarkupExample' => 'applications/uiexample/examples/PhabricatorRemarkupExample.php',
|
||||
'PhabricatorRemarkupRuleEmbedFile' => 'applications/files/remarkup/PhabricatorRemarkupRuleEmbedFile.php',
|
||||
'PhabricatorRemarkupRuleIcon' => 'applications/macro/remarkup/PhabricatorRemarkupRuleIcon.php',
|
||||
'PhabricatorRemarkupRuleImageMacro' => 'applications/macro/remarkup/PhabricatorRemarkupRuleImageMacro.php',
|
||||
'PhabricatorRemarkupRuleMeme' => 'applications/macro/remarkup/PhabricatorRemarkupRuleMeme.php',
|
||||
'PhabricatorRemarkupRuleMention' => 'applications/people/remarkup/PhabricatorRemarkupRuleMention.php',
|
||||
'PhabricatorRemarkupRuleObject' => 'infrastructure/markup/rule/PhabricatorRemarkupRuleObject.php',
|
||||
'PhabricatorRemarkupRuleYoutube' => 'infrastructure/markup/rule/PhabricatorRemarkupRuleYoutube.php',
|
||||
'PhabricatorRemarkupFigletBlockInterpreter' => 'infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php',
|
||||
'PhabricatorRemarkupGraphvizBlockInterpreter' => 'infrastructure/markup/interpreter/PhabricatorRemarkupGraphvizBlockInterpreter.php',
|
||||
'PhabricatorRepositoriesApplication' => 'applications/repository/application/PhabricatorRepositoriesApplication.php',
|
||||
'PhabricatorRepository' => 'applications/repository/storage/PhabricatorRepository.php',
|
||||
'PhabricatorRepositoryArcanistProject' => 'applications/repository/storage/PhabricatorRepositoryArcanistProject.php',
|
||||
|
@ -2367,6 +2366,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorXHProfProfileView' => 'applications/xhprof/view/PhabricatorXHProfProfileView.php',
|
||||
'PhabricatorXHProfSample' => 'applications/xhprof/storage/PhabricatorXHProfSample.php',
|
||||
'PhabricatorXHProfSampleListController' => 'applications/xhprof/controller/PhabricatorXHProfSampleListController.php',
|
||||
'PhabricatorYoutubeRemarkupRule' => 'infrastructure/markup/rule/PhabricatorYoutubeRemarkupRule.php',
|
||||
'PhameBasicBlogSkin' => 'applications/phame/skins/PhameBasicBlogSkin.php',
|
||||
'PhameBasicTemplateBlogSkin' => 'applications/phame/skins/PhameBasicTemplateBlogSkin.php',
|
||||
'PhameBlog' => 'applications/phame/storage/PhameBlog.php',
|
||||
|
@ -2570,7 +2570,7 @@ phutil_register_library_map(array(
|
|||
'PhrictionListController' => 'applications/phriction/controller/PhrictionListController.php',
|
||||
'PhrictionMoveController' => 'applications/phriction/controller/PhrictionMoveController.php',
|
||||
'PhrictionNewController' => 'applications/phriction/controller/PhrictionNewController.php',
|
||||
'PhrictionRemarkupRule' => 'applications/phriction/remarkup/PhrictionRemarkupRule.php',
|
||||
'PhrictionRemarkupRule' => 'applications/phriction/markup/PhrictionRemarkupRule.php',
|
||||
'PhrictionSearchEngine' => 'applications/phriction/query/PhrictionSearchEngine.php',
|
||||
'PhrictionSearchIndexer' => 'applications/phriction/search/PhrictionSearchIndexer.php',
|
||||
'PonderAddAnswerView' => 'applications/ponder/view/PonderAddAnswerView.php',
|
||||
|
@ -3036,7 +3036,7 @@ phutil_register_library_map(array(
|
|||
'DifferentialProjectsField' => 'DifferentialCoreCustomField',
|
||||
'DifferentialQueryConduitAPIMethod' => 'DifferentialConduitAPIMethod',
|
||||
'DifferentialQueryDiffsConduitAPIMethod' => 'DifferentialConduitAPIMethod',
|
||||
'DifferentialRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'DifferentialRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'DifferentialReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'DifferentialRepositoryField' => 'DifferentialCoreCustomField',
|
||||
'DifferentialRepositoryLookup' => 'Phobject',
|
||||
|
@ -3112,7 +3112,7 @@ phutil_register_library_map(array(
|
|||
'DiffusionCommitParentsQueryConduitAPIMethod' => 'DiffusionQueryConduitAPIMethod',
|
||||
'DiffusionCommitQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'DiffusionCommitRef' => 'Phobject',
|
||||
'DiffusionCommitRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'DiffusionCommitRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'DiffusionCommitTagsController' => 'DiffusionController',
|
||||
'DiffusionConduitAPIMethod' => 'ConduitAPIMethod',
|
||||
'DiffusionController' => 'PhabricatorController',
|
||||
|
@ -3202,7 +3202,7 @@ phutil_register_library_map(array(
|
|||
'DiffusionRepositoryListController' => 'DiffusionController',
|
||||
'DiffusionRepositoryNewController' => 'DiffusionController',
|
||||
'DiffusionRepositoryRef' => 'Phobject',
|
||||
'DiffusionRepositoryRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'DiffusionRepositoryRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'DiffusionResolveRefsConduitAPIMethod' => 'DiffusionQueryConduitAPIMethod',
|
||||
'DiffusionResolveUserQuery' => 'Phobject',
|
||||
'DiffusionSSHGitReceivePackWorkflow' => 'DiffusionSSHGitWorkflow',
|
||||
|
@ -3266,10 +3266,10 @@ phutil_register_library_map(array(
|
|||
'DivinerPHPAtomizer' => 'DivinerAtomizer',
|
||||
'DivinerParameterTableView' => 'AphrontTagView',
|
||||
'DivinerPublishCache' => 'DivinerDiskCache',
|
||||
'DivinerRemarkupRuleSymbol' => 'PhutilRemarkupRule',
|
||||
'DivinerReturnTableView' => 'AphrontTagView',
|
||||
'DivinerSectionView' => 'AphrontTagView',
|
||||
'DivinerStaticPublisher' => 'DivinerPublisher',
|
||||
'DivinerSymbolRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'DivinerWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'DoorkeeperBridge' => 'Phobject',
|
||||
'DoorkeeperBridgeAsana' => 'DoorkeeperBridge',
|
||||
|
@ -3487,7 +3487,7 @@ phutil_register_library_map(array(
|
|||
'HarbormasterPublishFragmentBuildStepImplementation' => 'HarbormasterBuildStepImplementation',
|
||||
'HarbormasterQueryBuildablesConduitAPIMethod' => 'HarbormasterConduitAPIMethod',
|
||||
'HarbormasterQueryBuildsConduitAPIMethod' => 'HarbormasterConduitAPIMethod',
|
||||
'HarbormasterRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'HarbormasterRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'HarbormasterScratchTable' => 'HarbormasterDAO',
|
||||
'HarbormasterSendMessageConduitAPIMethod' => 'HarbormasterConduitAPIMethod',
|
||||
'HarbormasterSleepBuildStepImplementation' => 'HarbormasterBuildStepImplementation',
|
||||
|
@ -3520,7 +3520,7 @@ phutil_register_library_map(array(
|
|||
'HeraldPreCommitContentAdapter' => 'HeraldPreCommitAdapter',
|
||||
'HeraldPreCommitRefAdapter' => 'HeraldPreCommitAdapter',
|
||||
'HeraldRecursiveConditionsException' => 'Exception',
|
||||
'HeraldRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'HeraldRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'HeraldRule' => array(
|
||||
'HeraldDAO',
|
||||
'PhabricatorFlaggableInterface',
|
||||
|
@ -3579,7 +3579,7 @@ phutil_register_library_map(array(
|
|||
'LegalpadDocumentListController' => 'LegalpadController',
|
||||
'LegalpadDocumentManageController' => 'LegalpadController',
|
||||
'LegalpadDocumentQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'LegalpadDocumentRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'LegalpadDocumentRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'LegalpadDocumentSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'LegalpadDocumentSignController' => 'LegalpadController',
|
||||
'LegalpadDocumentSignature' => array(
|
||||
|
@ -3646,7 +3646,7 @@ phutil_register_library_map(array(
|
|||
'ManiphestNameIndexEventListener' => 'PhabricatorEventListener',
|
||||
'ManiphestQueryConduitAPIMethod' => 'ManiphestConduitAPIMethod',
|
||||
'ManiphestQueryStatusesConduitAPIMethod' => 'ManiphestConduitAPIMethod',
|
||||
'ManiphestRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'ManiphestRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'ManiphestReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'ManiphestReportController' => 'ManiphestController',
|
||||
'ManiphestSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
|
@ -3847,7 +3847,7 @@ phutil_register_library_map(array(
|
|||
'PassphraseCredentialViewController' => 'PassphraseController',
|
||||
'PassphraseDAO' => 'PhabricatorLiskDAO',
|
||||
'PassphrasePasswordKey' => 'PassphraseAbstractKey',
|
||||
'PassphraseRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'PassphraseRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PassphraseSSHKey' => 'PassphraseAbstractKey',
|
||||
'PassphraseSecret' => 'PassphraseDAO',
|
||||
'PasteConduitAPIMethod' => 'ConduitAPIMethod',
|
||||
|
@ -4150,7 +4150,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCountdownEditController' => 'PhabricatorCountdownController',
|
||||
'PhabricatorCountdownListController' => 'PhabricatorCountdownController',
|
||||
'PhabricatorCountdownQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorCountdownRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'PhabricatorCountdownRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PhabricatorCountdownSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorCountdownView' => 'AphrontTagView',
|
||||
'PhabricatorCountdownViewController' => 'PhabricatorCountdownController',
|
||||
|
@ -4245,7 +4245,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorDashboardPanelTypeText' => 'PhabricatorDashboardPanelType',
|
||||
'PhabricatorDashboardPanelViewController' => 'PhabricatorDashboardController',
|
||||
'PhabricatorDashboardQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorDashboardRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'PhabricatorDashboardRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PhabricatorDashboardRemovePanelController' => 'PhabricatorDashboardController',
|
||||
'PhabricatorDashboardRenderingEngine' => 'Phobject',
|
||||
'PhabricatorDashboardSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
|
@ -4283,6 +4283,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorEditor' => 'Phobject',
|
||||
'PhabricatorEmailLoginController' => 'PhabricatorAuthController',
|
||||
'PhabricatorEmailVerificationController' => 'PhabricatorAuthController',
|
||||
'PhabricatorEmbedFileRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PhabricatorEmptyQueryException' => 'Exception',
|
||||
'PhabricatorEnglishTranslation' => 'PhabricatorBaseEnglishTranslation',
|
||||
'PhabricatorEnvTestCase' => 'PhabricatorTestCase',
|
||||
|
@ -4435,6 +4436,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorHunksManagementMigrateWorkflow' => 'PhabricatorHunksManagementWorkflow',
|
||||
'PhabricatorHunksManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorIRCProtocolAdapter' => 'PhabricatorBaseProtocolAdapter',
|
||||
'PhabricatorIconRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhabricatorImageMacroRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhabricatorInfrastructureTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorInlineCommentController' => 'PhabricatorController',
|
||||
'PhabricatorInlineCommentInterface' => 'PhabricatorMarkupInterface',
|
||||
|
@ -4515,6 +4518,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMarkupCache' => 'PhabricatorCacheDAO',
|
||||
'PhabricatorMarkupOneOff' => 'PhabricatorMarkupInterface',
|
||||
'PhabricatorMarkupPreviewController' => 'PhabricatorController',
|
||||
'PhabricatorMemeRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhabricatorMentionRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhabricatorMercurialGraphStream' => 'PhabricatorRepositoryGraphStream',
|
||||
'PhabricatorMetaMTAActorQuery' => 'PhabricatorQuery',
|
||||
'PhabricatorMetaMTAApplication' => 'PhabricatorApplication',
|
||||
|
@ -4601,6 +4606,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorObjectMailReceiver' => 'PhabricatorMailReceiver',
|
||||
'PhabricatorObjectMailReceiverTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorObjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorObjectRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhabricatorOffsetPagedQuery' => 'PhabricatorQuery',
|
||||
'PhabricatorOwnersApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorOwnersConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
|
@ -4647,7 +4653,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPasteListController' => 'PhabricatorPasteController',
|
||||
'PhabricatorPastePastePHIDType' => 'PhabricatorPHIDType',
|
||||
'PhabricatorPasteQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorPasteRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'PhabricatorPasteRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PhabricatorPasteSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorPasteTestDataGenerator' => 'PhabricatorTestDataGenerator',
|
||||
'PhabricatorPasteTransaction' => 'PhabricatorApplicationTransaction',
|
||||
|
@ -4807,20 +4813,13 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRegistrationProfile' => 'Phobject',
|
||||
'PhabricatorReleephApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorReleephApplicationConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorRemarkupBlockInterpreterCowsay' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupBlockInterpreterFiglet' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupBlockInterpreterGraphviz' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupControl' => 'AphrontFormTextAreaControl',
|
||||
'PhabricatorRemarkupCustomBlockRule' => 'PhutilRemarkupEngineBlockRule',
|
||||
'PhabricatorRemarkupCowsayBlockInterpreter' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupCustomBlockRule' => 'PhutilRemarkupBlockRule',
|
||||
'PhabricatorRemarkupCustomInlineRule' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorRemarkupRuleEmbedFile' => 'PhabricatorRemarkupRuleObject',
|
||||
'PhabricatorRemarkupRuleIcon' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleImageMacro' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleMeme' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleMention' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleObject' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleYoutube' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupFigletBlockInterpreter' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupGraphvizBlockInterpreter' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRepositoriesApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorRepository' => array(
|
||||
'PhabricatorRepositoryDAO',
|
||||
|
@ -5225,6 +5224,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorXHProfProfileView' => 'AphrontView',
|
||||
'PhabricatorXHProfSample' => 'PhabricatorXHProfDAO',
|
||||
'PhabricatorXHProfSampleListController' => 'PhabricatorXHProfController',
|
||||
'PhabricatorYoutubeRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhameBasicBlogSkin' => 'PhameBlogSkin',
|
||||
'PhameBasicTemplateBlogSkin' => 'PhameBasicBlogSkin',
|
||||
'PhameBlog' => array(
|
||||
|
@ -5320,7 +5320,7 @@ phutil_register_library_map(array(
|
|||
'PholioMockSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PholioMockThumbGridView' => 'AphrontView',
|
||||
'PholioMockViewController' => 'PholioController',
|
||||
'PholioRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'PholioRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PholioReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'PholioSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PholioTransaction' => 'PhabricatorApplicationTransaction',
|
||||
|
@ -5548,7 +5548,7 @@ phutil_register_library_map(array(
|
|||
'PonderQuestionTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
'PonderQuestionTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PonderQuestionViewController' => 'PonderController',
|
||||
'PonderRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'PonderRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PonderSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PonderTransactionFeedStory' => 'PhabricatorApplicationTransactionFeedStory',
|
||||
'PonderVotableView' => 'AphrontView',
|
||||
|
@ -5558,7 +5558,7 @@ phutil_register_library_map(array(
|
|||
'ProjectConduitAPIMethod' => 'ConduitAPIMethod',
|
||||
'ProjectCreateProjectsCapability' => 'PhabricatorPolicyCapability',
|
||||
'ProjectQueryConduitAPIMethod' => 'ProjectConduitAPIMethod',
|
||||
'ProjectRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'ProjectRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'QueryFormattingTestCase' => 'PhabricatorTestCase',
|
||||
'ReleephAuthorFieldSpecification' => 'ReleephFieldSpecification',
|
||||
'ReleephBranch' => array(
|
||||
|
@ -5671,7 +5671,7 @@ phutil_register_library_map(array(
|
|||
'SlowvoteConduitAPIMethod' => 'ConduitAPIMethod',
|
||||
'SlowvoteEmbedView' => 'AphrontView',
|
||||
'SlowvoteInfoConduitAPIMethod' => 'SlowvoteConduitAPIMethod',
|
||||
'SlowvoteRemarkupRule' => 'PhabricatorRemarkupRuleObject',
|
||||
'SlowvoteRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'TokenConduitAPIMethod' => 'ConduitAPIMethod',
|
||||
'TokenGiveConduitAPIMethod' => 'TokenConduitAPIMethod',
|
||||
'TokenGivenConduitAPIMethod' => 'TokenConduitAPIMethod',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorCountdownRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'C';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorDashboardRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'W';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class DifferentialRemarkupRule extends PhabricatorRemarkupRuleObject {
|
||||
final class DifferentialRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'D';
|
||||
|
|
|
@ -125,8 +125,7 @@ final class DiffusionReadmeQueryConduitAPIMethod
|
|||
->getOutput($markup_object, $markup_field);
|
||||
|
||||
$engine = $markup_object->newMarkupEngine($markup_field);
|
||||
$toc = PhutilRemarkupEngineRemarkupHeaderBlockRule::renderTableOfContents(
|
||||
$engine);
|
||||
$toc = PhutilRemarkupHeaderBlockRule::renderTableOfContents($engine);
|
||||
if ($toc) {
|
||||
$toc = phutil_tag_div(
|
||||
'phabricator-remarkup-toc',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class DiffusionCommitRemarkupRule extends PhabricatorRemarkupRuleObject {
|
||||
final class DiffusionCommitRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return '';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
final class DiffusionRepositoryRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'r';
|
||||
|
|
|
@ -45,7 +45,7 @@ final class PhabricatorDivinerApplication extends PhabricatorApplication {
|
|||
|
||||
public function getRemarkupRules() {
|
||||
return array(
|
||||
new DivinerRemarkupRuleSymbol(),
|
||||
new DivinerSymbolRemarkupRule(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ final class DivinerAtomController extends DivinerController {
|
|||
$toc = $engine->getEngineMetadata(
|
||||
$symbol,
|
||||
$field,
|
||||
PhutilRemarkupEngineRemarkupHeaderBlockRule::KEY_HEADER_TOC,
|
||||
PhutilRemarkupHeaderBlockRule::KEY_HEADER_TOC,
|
||||
array());
|
||||
|
||||
$document = id(new PHUIDocumentView())
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class DivinerRemarkupRuleSymbol extends PhutilRemarkupRule {
|
||||
final class DivinerSymbolRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
const KEY_RULE_ATOM_REF = 'rule.diviner.atomref';
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
abstract class DoorkeeperRemarkupRule
|
||||
extends PhutilRemarkupRule {
|
||||
abstract class DoorkeeperRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
const KEY_TAGS = 'doorkeeper.tags';
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ final class PhabricatorFilesApplication extends PhabricatorApplication {
|
|||
|
||||
public function getRemarkupRules() {
|
||||
return array(
|
||||
new PhabricatorRemarkupRuleEmbedFile(),
|
||||
new PhabricatorEmbedFileRemarkupRule(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupRuleEmbedFile
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class PhabricatorEmbedFileRemarkupRule
|
||||
extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
const KEY_EMBED_FILE_PHIDS = 'phabricator.embedded-file-phids';
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class HarbormasterRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class HarbormasterRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'B';
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class HeraldRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class HeraldRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'H';
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class LegalpadDocumentRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class LegalpadDocumentRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'L';
|
||||
|
|
|
@ -44,7 +44,7 @@ final class PhabricatorMacroApplication extends PhabricatorApplication {
|
|||
|
||||
public function getRemarkupRules() {
|
||||
return array(
|
||||
new PhabricatorRemarkupRuleIcon(),
|
||||
new PhabricatorIconRemarkupRule(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupRuleIcon
|
||||
extends PhutilRemarkupRule {
|
||||
final class PhabricatorIconRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
public function getPriority() {
|
||||
return 200.0;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupRuleImageMacro extends PhutilRemarkupRule {
|
||||
final class PhabricatorImageMacroRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
private $macros;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupRuleMeme extends PhutilRemarkupRule {
|
||||
final class PhabricatorMemeRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
private $images;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class ManiphestRemarkupRule extends PhabricatorRemarkupRuleObject {
|
||||
final class ManiphestRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'T';
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PassphraseRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class PassphraseRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'K';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorPasteRemarkupRule extends PhabricatorRemarkupRuleObject {
|
||||
final class PhabricatorPasteRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'P';
|
||||
|
|
|
@ -72,7 +72,7 @@ final class PhabricatorPeopleApplication extends PhabricatorApplication {
|
|||
|
||||
public function getRemarkupRules() {
|
||||
return array(
|
||||
new PhabricatorRemarkupRuleMention(),
|
||||
new PhabricatorMentionRemarkupRule(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupRuleMention extends PhutilRemarkupRule {
|
||||
final class PhabricatorMentionRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
const KEY_RULE_MENTION = 'rule.mention';
|
||||
const KEY_RULE_MENTION_ORIGINAL = 'rule.mention.original';
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PholioRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class PholioRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'M';
|
||||
|
|
|
@ -69,7 +69,7 @@ final class PhrictionContent extends PhrictionDAO
|
|||
$output,
|
||||
PhutilMarkupEngine $engine) {
|
||||
|
||||
$toc = PhutilRemarkupEngineRemarkupHeaderBlockRule::renderTableOfContents(
|
||||
$toc = PhutilRemarkupHeaderBlockRule::renderTableOfContents(
|
||||
$engine);
|
||||
|
||||
if ($toc) {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PonderRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class PonderRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'Q';
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class ProjectRemarkupRule
|
||||
extends PhabricatorRemarkupRuleObject {
|
||||
final class ProjectRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return '#';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class SlowvoteRemarkupRule extends PhabricatorRemarkupRuleObject {
|
||||
final class SlowvoteRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||||
|
||||
protected function getObjectNamePrefix() {
|
||||
return 'V';
|
||||
|
|
|
@ -1140,7 +1140,7 @@ abstract class PhabricatorApplicationTransactionEditor
|
|||
foreach ($xaction_blocks as $block) {
|
||||
$engine->markupText($block);
|
||||
$phids += $engine->getTextMetadata(
|
||||
PhabricatorRemarkupRuleObject::KEY_MENTIONED_OBJECTS,
|
||||
PhabricatorObjectRemarkupRule::KEY_MENTIONED_OBJECTS,
|
||||
array());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -440,14 +440,14 @@ final class PhabricatorMarkupEngine {
|
|||
$options['syntax-highlighter.engine']);
|
||||
|
||||
$rules = array();
|
||||
$rules[] = new PhutilRemarkupRuleEscapeRemarkup();
|
||||
$rules[] = new PhutilRemarkupRuleMonospace();
|
||||
$rules[] = new PhutilRemarkupEscapeRemarkupRule();
|
||||
$rules[] = new PhutilRemarkupMonospaceRule();
|
||||
|
||||
|
||||
$rules[] = new PhutilRemarkupRuleDocumentLink();
|
||||
$rules[] = new PhutilRemarkupDocumentLinkRule();
|
||||
|
||||
if ($options['youtube']) {
|
||||
$rules[] = new PhabricatorRemarkupRuleYoutube();
|
||||
$rules[] = new PhabricatorYoutubeRemarkupRule();
|
||||
}
|
||||
|
||||
$applications = PhabricatorApplication::getAllInstalledApplications();
|
||||
|
@ -457,35 +457,35 @@ final class PhabricatorMarkupEngine {
|
|||
}
|
||||
}
|
||||
|
||||
$rules[] = new PhutilRemarkupRuleHyperlink();
|
||||
$rules[] = new PhutilRemarkupHyperlinkRule();
|
||||
|
||||
if ($options['macros']) {
|
||||
$rules[] = new PhabricatorRemarkupRuleImageMacro();
|
||||
$rules[] = new PhabricatorRemarkupRuleMeme();
|
||||
$rules[] = new PhabricatorImageMacroRemarkupRule();
|
||||
$rules[] = new PhabricatorMemeRemarkupRule();
|
||||
}
|
||||
|
||||
$rules[] = new PhutilRemarkupRuleBold();
|
||||
$rules[] = new PhutilRemarkupRuleItalic();
|
||||
$rules[] = new PhutilRemarkupRuleDel();
|
||||
$rules[] = new PhutilRemarkupRuleUnderline();
|
||||
$rules[] = new PhutilRemarkupBoldRule();
|
||||
$rules[] = new PhutilRemarkupItalicRule();
|
||||
$rules[] = new PhutilRemarkupDelRule();
|
||||
$rules[] = new PhutilRemarkupUnderlineRule();
|
||||
|
||||
foreach (self::loadCustomInlineRules() as $rule) {
|
||||
$rules[] = $rule;
|
||||
}
|
||||
|
||||
$blocks = array();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupQuotesBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupReplyBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupLiteralBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupHeaderBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupListBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupCodeBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupNoteBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupTableBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupSimpleTableBlockRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupInterpreterRule();
|
||||
$blocks[] = new PhutilRemarkupEngineRemarkupDefaultBlockRule();
|
||||
$blocks[] = new PhutilRemarkupQuotesBlockRule();
|
||||
$blocks[] = new PhutilRemarkupReplyBlockRule();
|
||||
$blocks[] = new PhutilRemarkupLiteralBlockRule();
|
||||
$blocks[] = new PhutilRemarkupHeaderBlockRule();
|
||||
$blocks[] = new PhutilRemarkupHorizontalRuleBlockRule();
|
||||
$blocks[] = new PhutilRemarkupListBlockRule();
|
||||
$blocks[] = new PhutilRemarkupCodeBlockRule();
|
||||
$blocks[] = new PhutilRemarkupNoteBlockRule();
|
||||
$blocks[] = new PhutilRemarkupTableBlockRule();
|
||||
$blocks[] = new PhutilRemarkupSimpleTableBlockRule();
|
||||
$blocks[] = new PhutilRemarkupInterpreterBlockRule();
|
||||
$blocks[] = new PhutilRemarkupDefaultBlockRule();
|
||||
|
||||
foreach (self::loadCustomBlockRules() as $rule) {
|
||||
$blocks[] = $rule;
|
||||
|
@ -512,7 +512,7 @@ final class PhabricatorMarkupEngine {
|
|||
foreach ($content_blocks as $content_block) {
|
||||
$engine->markupText($content_block);
|
||||
$phids = $engine->getTextMetadata(
|
||||
PhabricatorRemarkupRuleMention::KEY_MENTIONED,
|
||||
PhabricatorMentionRemarkupRule::KEY_MENTIONED,
|
||||
array());
|
||||
$mentions += $phids;
|
||||
}
|
||||
|
@ -531,7 +531,7 @@ final class PhabricatorMarkupEngine {
|
|||
foreach ($content_blocks as $content_block) {
|
||||
$engine->markupText($content_block);
|
||||
$ids = $engine->getTextMetadata(
|
||||
PhabricatorRemarkupRuleEmbedFile::KEY_EMBED_FILE_PHIDS,
|
||||
PhabricatorEmbedFileRemarkupRule::KEY_EMBED_FILE_PHIDS,
|
||||
array());
|
||||
$files += $ids;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupBlockInterpreterCowsay
|
||||
final class PhabricatorRemarkupCowsayBlockInterpreter
|
||||
extends PhutilRemarkupBlockInterpreter {
|
||||
|
||||
public function getInterpreterName() {
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupBlockInterpreterFiglet
|
||||
final class PhabricatorRemarkupFigletBlockInterpreter
|
||||
extends PhutilRemarkupBlockInterpreter {
|
||||
|
||||
public function getInterpreterName() {
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupBlockInterpreterGraphviz
|
||||
final class PhabricatorRemarkupGraphvizBlockInterpreter
|
||||
extends PhutilRemarkupBlockInterpreter {
|
||||
|
||||
public function getInterpreterName() {
|
||||
|
@ -47,7 +47,7 @@ final class PhabricatorRemarkupBlockInterpreterGraphviz
|
|||
));
|
||||
}
|
||||
|
||||
// TODO: This is duplicated from PhabricatorRemarkupRuleEmbedFile since they
|
||||
// TODO: This is duplicated from PhabricatorEmbedFileRemarkupRule since they
|
||||
// do not share a base class.
|
||||
private function parseDimension($string) {
|
||||
$string = trim($string);
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
abstract class PhabricatorRemarkupRuleObject
|
||||
extends PhutilRemarkupRule {
|
||||
abstract class PhabricatorObjectRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
const KEY_RULE_OBJECT = 'rule.object';
|
||||
const KEY_MENTIONED_OBJECTS = 'rule.object.mentioned';
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
abstract class PhabricatorRemarkupCustomBlockRule
|
||||
extends PhutilRemarkupEngineBlockRule {
|
||||
extends PhutilRemarkupBlockRule {
|
||||
|
||||
public function getRuleVersion() {
|
||||
return 1;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
abstract class PhabricatorRemarkupCustomInlineRule
|
||||
extends PhutilRemarkupRule {
|
||||
abstract class PhabricatorRemarkupCustomInlineRule extends PhutilRemarkupRule {
|
||||
|
||||
public function getRuleVersion() {
|
||||
return 1;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorRemarkupRuleYoutube extends PhutilRemarkupRule {
|
||||
final class PhabricatorYoutubeRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
public function getPriority() {
|
||||
return 350.0;
|
Loading…
Reference in a new issue