@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 28 lines 728 B view raw
1<?php 2 3final class PhabricatorCustomFieldImplementationIncompleteException 4 extends Exception { 5 6 public function __construct( 7 PhabricatorCustomField $field, 8 $field_key_is_incomplete = false) { 9 10 if ($field_key_is_incomplete) { 11 $key = pht('<incomplete key>'); 12 $name = pht('<incomplete name>'); 13 } else { 14 $key = $field->getFieldKey(); 15 $name = $field->getFieldName(); 16 } 17 18 parent::__construct( 19 pht( 20 "Custom field '%s' (with key '%s', of class '%s') is incompletely ". 21 "implemented: it claims to support a feature, but does not ". 22 "implement all of the required methods for that feature.", 23 $name, 24 $key, 25 get_class($field))); 26 } 27 28}