@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
at recaptime-dev/main 17 lines 435 B view raw
1<?php 2 3final class PhabricatorApplicationTransactionJSONDiffDetailView 4 extends PhabricatorApplicationTransactionDetailView { 5 6 public function setNew($new_object) { 7 $json = new PhutilJSON(); 8 $this->setNewText($json->encodeFormatted($new_object)); 9 return $this; 10 } 11 12 public function setOld($old_object) { 13 $json = new PhutilJSON(); 14 $this->setOldText($json->encodeFormatted($old_object)); 15 return $this; 16 } 17}