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
F14058286: D7408.diff
Sun, Nov 17, 10:43 AM
F14033169: D7408.diff
Sat, Nov 9, 5:00 PM
F14006237: D7408.id16694.diff
Mon, Oct 28, 3:52 AM
F13994951: D7408.diff
Wed, Oct 23, 9:37 AM
F13993082: D7408.id.diff
Tue, Oct 22, 8:33 PM
Unknown Object (File)
Oct 3 2024, 7:23 PM
Unknown Object (File)
Oct 3 2024, 7:20 PM
Unknown Object (File)
Oct 3 2024, 5:20 PM
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

Branch
3abstract5me
Lint
Lint Passed
Unit
Tests Passed