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
Unknown Object (File)
Sun, Sep 22, 7:41 AM
Unknown Object (File)
Sat, Sep 21, 2:42 PM
Unknown Object (File)
Sat, Sep 21, 11:00 AM
Unknown Object (File)
Thu, Sep 19, 5:11 AM
Unknown Object (File)
Thu, Sep 19, 5:11 AM
Unknown Object (File)
Thu, Sep 19, 5:11 AM
Unknown Object (File)
Mon, Sep 9, 1:54 PM
Unknown Object (File)
Sep 2 2024, 5:37 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