@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 upstream/main 20 lines 475 B view raw
1<?php 2 3final class PhabricatorApplicationTransactionStructureException 4 extends Exception { 5 6 public function __construct( 7 PhabricatorApplicationTransaction $xaction, 8 $message) { 9 10 $full_message = pht( 11 'Attempting to apply a transaction (of class "%s", with type "%s") '. 12 'which has not been constructed correctly: %s', 13 get_class($xaction), 14 $xaction->getTransactionType(), 15 $message); 16 17 parent::__construct($full_message); 18 } 19 20}