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

Use Throwable instead of Exception #774

Merged
merged 1 commit into from
Jun 4, 2020
Merged

Use Throwable instead of Exception #774

merged 1 commit into from
Jun 4, 2020

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Jan 12, 2020

In PHP 7.0, a Throwable interface was added that allows catching and handling errors in more cases than Exception previously allowed. So, if the catch statement contained Exception on PHP 5.x, it means it should probably be rewritten to reference Throwable on PHP 7.x.

Contains commit from #773

@cboden
Copy link
Member

cboden commented Mar 4, 2020

What's the reasoning behind removing ini_set calls?

@simPod
Copy link
Contributor Author

simPod commented Mar 4, 2020

#773 (comment)

@cboden cboden added the blocked label May 21, 2020
@cboden cboden added this to the 0.5 milestone May 21, 2020
@cboden cboden changed the base branch from master to v0.5 May 28, 2020 14:42
@cboden cboden removed the blocked label May 28, 2020
@cboden
Copy link
Member

cboden commented May 28, 2020

Can you rebase against branch v0.5 please? Your other PR was merged to that branch but there's a few conflicts as a result of some of the change requests we asked for.

@simPod
Copy link
Contributor Author

simPod commented May 28, 2020

@cboden done

@cboden cboden requested review from mbonneau and cboden May 28, 2020 16:50
@cboden cboden merged commit 04b4599 into ratchetphp:v0.5 Jun 4, 2020
@simPod simPod deleted the exc branch June 4, 2020 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants