@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 PhabricatorCustomFieldNotProxyException extends Exception {
4
5 public function __construct(PhabricatorCustomField $field) {
6 parent::__construct(
7 pht(
8 "Custom field '%s' (with key '%s', of class '%s') can not have a ".
9 "proxy set with %s, because it returned %s from %s.",
10 $field->getFieldName(),
11 $field->getFieldKey(),
12 get_class($field),
13 'setProxy()',
14 'false',
15 'canSetProxy()'));
16 }
17
18}