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)
Sat, May 17, 3:35 AM
Unknown Object (File)
Sat, May 17, 3:35 AM
Unknown Object (File)
Sat, May 17, 3:35 AM
Unknown Object (File)
Apr 20 2025, 3:04 AM
Unknown Object (File)
Apr 18 2025, 9:54 AM
Unknown Object (File)
Apr 17 2025, 8:04 PM
Unknown Object (File)
Apr 4 2025, 3:47 PM
Unknown Object (File)
Mar 19 2025, 12:15 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

Lint
Lint Skipped
Unit
Tests Skipped