Skip to content

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

Development

Successfully merging this pull request may close these issues.

2 participants