PHP 8.0: New `PHPCompatibility.ControlStructures.NewNonCapturingCatch` sniff by jrfnl · Pull Request #1151 · PHPCompatibility/PHPCompatibility
Navigation Menu
{{ message }}
PHPCompatibility / PHPCompatibility Public
- Notifications You must be signed in to change notification settings
- Fork 204
Conversation
Copy link Copy Markdown
Member
Allow catching exceptions without capturing them to variables
Refs:
- https://wiki.php.net/rfc/non-capturing_catches
- Catch exceptions without capturing them to variables php/php-src#5345
- php/php-src@23ee4d4
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.
jrfnl
added
Type: enhancement
PR: ready for review
labels
jrfnl
added this to the
10.0.0 milestone
jrfnl
requested a review
from wimg
jrfnl
mentioned this pull request
40 tasks
wimg approved these changes Jul 11, 2020
wimg
merged commit
f40c80a
into
develop
wimg
deleted the
php-8.0/new-newnoncapturingcatch-sniff
branch
jrfnl
removed
the
PR: ready for review
label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment