1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/policy
epriestley 1975bdfb36 Work around a bug in PHP 5.3-ish with abstract methods in interfaces
Summary:
@chad is hitting an issue described in P961, which I think is this bug in PHP: https://bugs.php.net/bug.php?id=43200

Work around it by defining a "PHIDInterface" and having both "Flaggable" and "Policy" extend it, so that there is only one `getPHID()` declaration.

Test Plan: shrug~

Reviewers: chad, btrahan

Reviewed By: chad

CC: chad, aran

Differential Revision: https://secure.phabricator.com/D7408
2013-10-25 15:58:17 -07:00
..
__tests__ Fix chatlog application query integration 2013-10-22 13:47:47 -07:00
application Prepare the policy rule edit endpoint for integration 2013-10-14 12:07:31 -07:00
capability Allow "Default View" policies to be set to Public 2013-10-09 15:06:18 -07:00
config Move policy config to "Policy" app and make policy.allow-public description scarier 2013-09-27 10:50:19 -07:00
constants Modernize policies in Paste and Macro 2013-10-16 10:35:52 -07:00
controller Harbormaster v(-2) 2013-10-22 15:01:06 -07:00
exception Allow applications to define new policy capabilities 2013-10-07 13:28:58 -07:00
filter Make PhabricatorPolicyInterface require a getPHID() method 2013-10-14 14:35:47 -07:00
interface Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
management Allow applications to define new policy capabilities 2013-10-07 13:28:58 -07:00
phid Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
rule Allow "Custom" policies to be selected in the policy control 2013-10-14 16:59:16 -07:00
storage Render public content as "Public" in headers, not "Public (No Login Required)" 2013-10-14 14:17:25 -07:00