1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/pholio
Joshua Spence 254542237a Simplify the implementation of PhabricatorPHIDType subclasses
Summary: Instead of implementing the `getTypeConstant` method in all subclasses of `PhabricatorPHIDType`, provide a `final` implementation in the base class which uses reflection. See D9837 for a similar implementation.

Test Plan: Ran `arc unit`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D9985
2014-07-22 00:38:23 +10:00
..
application Unbeta Pholio 2014-06-22 12:46:01 -07:00
capability Give Pholio mocks a configurable edit policy 2014-06-15 10:28:16 -07:00
config Remove @group annotations 2014-07-10 08:12:48 +10:00
constants Remove @group annotations 2014-07-10 08:12:48 +10:00
controller Modernize "mailable" typeahead datasources 2014-07-17 15:44:29 -07:00
editor Remove @group annotations 2014-07-10 08:12:48 +10:00
event Replace Sprite-Icons with FontAwesome 2014-05-12 10:08:32 -07:00
lipsum Remove @group annotations 2014-07-10 08:12:48 +10:00
mail Remove @group annotations 2014-07-10 08:12:48 +10:00
phid Simplify the implementation of PhabricatorPHIDType subclasses 2014-07-22 00:38:23 +10:00
query Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
remarkup Support M123/456 mock references in Remarkup 2014-06-15 12:56:11 -07:00
search Remove @group annotations 2014-07-10 08:12:48 +10:00
storage Rename PhabricatorDestructableInterface interface 2014-07-21 23:59:22 +10:00
view Remove @group annotations 2014-07-10 08:12:48 +10:00