Page MenuHomePhabricator

Work around a bug in PHP 5.3-ish with abstract methods in interfaces
ClosedPublic

Authored by epriestley on Oct 25 2013, 10:56 PM.
Tags
None
Referenced Files
F13886642: D7408.id16694.diff
Thu, Oct 3, 7:23 PM
F13886630: D7408.id16691.diff
Thu, Oct 3, 7:20 PM
F13886165: D7408.diff
Thu, Oct 3, 5:20 PM
F13885628: D7408.diff
Thu, Oct 3, 3:20 PM
F13885621: D7408.id.diff
Thu, Oct 3, 3:17 PM
F13885615: D7408.id16691.diff
Thu, Oct 3, 3:16 PM
F13885608: D7408.id16694.diff
Thu, Oct 3, 3:15 PM
Unknown Object (File)
Sun, Sep 22, 7:41 AM
Subscribers

Details

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~

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped