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
F19510638: D7408.id16694.diff
Sun, Jan 11, 12:57 PM
F19506704: D7408.id16694.diff
Fri, Jan 9, 4:51 PM
F19506345: D7408.id16691.diff
Fri, Jan 9, 4:44 PM
F19154908: D7408.diff
Dec 11 2025, 8:30 PM
F18941473: D7408.id.diff
Nov 11 2025, 10:11 AM
F18911642: D7408.id.diff
Nov 9 2025, 4:10 AM
F18779090: D7408.diff
Oct 11 2025, 11:56 AM
F18630275: D7408.diff
Sep 16 2025, 11:14 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