-
Notifications
You must be signed in to change notification settings - Fork 78
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
Throwable PHP7 #26
Comments
No need to refactor all try/catch. |
@Benoit-amo php-resque/lib/Resque/Worker.php Line 257 in fdca42b
how this example can be refactored in other way than replacing Exception to Throwable? |
Ok, I missed that. |
@Benoit-amo but exist some child-exceptions which has extended from Exception php-resque/lib/Resque/Failure.php Line 25 in fdca42b
i am not sure which one should be updated to Throwable and which one not. |
There are a lot of PHP 7 updates that haven't been done yet. This one is relatively minor, as In other words, this will be a BC break, and will need several other PHP 7 changes in place before it makes any sense to do. So this will be an item on the PHP 7 checklist. |
Expected Behavior
PHP7 needs to catch Throwable instead Exception
Current Behavior
try-catch don't catch Throwable instead Exception
Possible Solution
refactor all try-catch
My Environment
The text was updated successfully, but these errors were encountered: