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

PHP 8.0: New PHPCompatibility.ControlStructures.NewNonCapturingCatch sniff #1151

Merged
merged 1 commit into from Jul 11, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 29, 2020

Allow catching exceptions without capturing them to variables

Refs:

Includes unit tests.

Related to #809

…ch` sniff

> Allow catching exceptions without capturing them to variables

Refs:
* https://wiki.php.net/rfc/non-capturing_catches
* php/php-src#5345
* php/php-src@23ee4d4

Includes unit tests.
@wimg wimg merged commit f40c80a into develop Jul 11, 2020
@wimg wimg deleted the php-8.0/new-newnoncapturingcatch-sniff branch July 11, 2020 21:17
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.

None yet

2 participants