HHVM bundles a port of the OAuth PECL extension by default, and it defines an OAuthException class. Attempting to load Extension:OAuth under HHVM causes a "Class already declared" fatal to be thrown.
Version: master
Severity: normal
HHVM bundles a port of the OAuth PECL extension by default, and it defines an OAuthException class. Attempting to load Extension:OAuth under HHVM causes a "Class already declared" fatal to be thrown.
Version: master
Severity: normal
Since the PECL extension just extends the default exception with two extra properties (if I understand the code right), which is compatible with the library we're using, I think we can just conditionally define the exception, and everything will work.
Changing the name would be fine, except we already have an MWOAuthException, which has a slightly different usage, and I'd rather not have to refactor those.