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
F18099264: D7408.id16694.diff
Aug 9 2025, 3:17 AM
F18097038: D7408.id.diff
Aug 8 2025, 10:48 AM
F18094844: D7408.diff
Aug 7 2025, 10:23 PM
F17711670: D7408.diff
Jul 17 2025, 9:12 AM
Unknown Object (File)
Jul 3 2025, 9:53 AM
Unknown Object (File)
Jun 3 2025, 4:24 PM
Unknown Object (File)
Jun 3 2025, 3:07 AM
Unknown Object (File)
Jun 2 2025, 10:12 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