Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle \Throwable in the same way as \Exception #51

Merged
merged 1 commit into from
Mar 24, 2016
Merged

Handle \Throwable in the same way as \Exception #51

merged 1 commit into from
Mar 24, 2016

Conversation

joshdifabio
Copy link
Contributor

This is a backwards-compatible change which enables react/promise to handle PHP7's \Throwable in the same way it handles PHP5's \Exception.

I'd really love to get this merged asap as it's a trivial change which is backwards compatible and \Errors are currently causing instability in a production app which we've got running on PHP7.

@jsor
Copy link
Member

jsor commented Mar 24, 2016

LGTM :shipit: /ping @WyriHaximus @cboden @clue

@cboden
Copy link
Member

cboden commented Mar 24, 2016

LGTM

fixes #49

@WyriHaximus
Copy link
Member

Does it matter for PHP 5 that Throwable comes before Exception? Except from that LGTM :shipit:

@jsor
Copy link
Member

jsor commented Mar 24, 2016

@WyriHaximus i can't think of any reason (and tests pass).

@WyriHaximus
Copy link
Member

@jsor fair point, was just wondering :)

@jsor jsor merged commit f2b2a12 into reactphp:master Mar 24, 2016
@jsor
Copy link
Member

jsor commented Mar 24, 2016

Thanks @joshdifabio, released in v2.3.0.

@joshdifabio
Copy link
Contributor Author

Brilliant, thanks for moving so quickly on this.
On 24 Mar 2016 9:23 p.m., "Jan Sorgalla" [email protected] wrote:

Thanks @joshdifabio https://github.com/joshdifabio, released in v2.3.0
https://github.com/reactphp/promise/releases/tag/v2.3.0.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#51 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants