@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class HeraldRemarkupRule extends PhabricatorObjectRemarkupRule {
4
5 protected function getObjectNamePrefix() {
6 return 'H';
7 }
8
9 protected function loadObjects(array $ids) {
10 $viewer = $this->getEngine()->getConfig('viewer');
11 return id(new HeraldRuleQuery())
12 ->setViewer($viewer)
13 ->withIDs($ids)
14 ->execute();
15 }
16
17}