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

ControlStructures::getCaughtExceptions(): compatibility with PHP8 non-capturing catch #138

Merged
merged 1 commit into from
May 17, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 17, 2020

PHP 8 will introduce non-capturing catch statements.

This tiny fix makes sure the method can handle these correctly.

Includes unit test.

Ref: https://wiki.php.net/rfc/non-capturing_catches

…g catch

PHP 8 will introduce non-capturing catch statements.

This tiny fix makes sure the method can handle these correctly.

Includes unit test.

Ref: https://wiki.php.net/rfc/non-capturing_catches
@jrfnl jrfnl added this to the 1.0.0-alpha3 milestone May 17, 2020
@jrfnl jrfnl merged commit 09e0c0e into develop May 17, 2020
@jrfnl jrfnl deleted the controlstructures/getcaughtexceptions-add-test-php8 branch May 17, 2020 00:22
@jrfnl jrfnl changed the title ControlStructures::getCaughtExceptions(): add test with PHP8 non-capturing catch ControlStructures::getCaughtExceptions(): compatibility with PHP8 non-capturing catch May 28, 2020
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.

1 participant