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
F15412283: D7408.id16691.diff
Wed, Mar 19, 12:15 PM
F15388068: D7408.id16694.diff
Sat, Mar 15, 3:16 AM
F15335896: D7408.diff
Sat, Mar 8, 5:39 PM
Unknown Object (File)
Fri, Feb 28, 12:37 PM
Unknown Object (File)
Fri, Feb 28, 12:05 PM
Unknown Object (File)
Wed, Feb 26, 6:30 AM
Unknown Object (File)
Wed, Feb 26, 6:30 AM
Unknown Object (File)
Wed, Feb 26, 6:30 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