Homec4science

Work around a bug in PHP 5.3-ish with abstract methods in interfaces

Authored by epriestley <git@epriestley.com> on Oct 26 2013, 00:58.

Description

Work around a bug in PHP 5.3-ish with abstract methods in interfaces

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~

Reviewers: chad, btrahan

Reviewed By: chad

CC: chad, aran

Differential Revision: https://secure.phabricator.com/D7408

Details

Committed
epriestley <git@epriestley.com>Oct 26 2013, 00:58
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe81bad9ba21f: Improve consistency of policy enforcement on new repository edit UI
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1975bdfb3660: Work around a bug in PHP 5.3-ish with abstract methods in interfaces (authored by epriestley <git@epriestley.com>).Oct 26 2013, 00:58