@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
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 33 lines 620 B view raw
1<?php 2 3final class PholioMockInlineTransaction 4 extends PholioMockTransactionType { 5 6 const TRANSACTIONTYPE = 'inline'; 7 8 public function generateOldValue($object) { 9 return null; 10 } 11 12 public function getTitle() { 13 return pht( 14 '%s added inline comment(s).', 15 $this->renderAuthor()); 16 } 17 18 public function getTitleForFeed() { 19 return pht( 20 '%s added an inline comment to %s.', 21 $this->renderAuthor(), 22 $this->renderObject()); 23 } 24 25 public function getIcon() { 26 return 'fa-comment'; 27 } 28 29 public function getTransactionHasEffect($object, $old, $new) { 30 return true; 31 } 32 33}