You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
unit tests may cause emails to not be removed
Describe the solution you'd like Mailbox::expungeTransaction(Closure(Mailbox, & list<int>) : T): T
Mailbox::expungeTransaction(staticfunction(Mailbox$mailbox, & list<int> $to_delete) : T {
// do something$to_delete[] = $a;
// do something that might throw$to_delete[] = $b;
// do something else that might throw$to_delete[] = $c;
});
Describe alternatives you've considered
manually wrapping code in try-catch blocks is cumbersome.
Is your feature request related to a problem? Please describe.
unit tests may cause emails to not be removed
Describe the solution you'd like
Mailbox::expungeTransaction(Closure(Mailbox, & list<int>) : T): T
Describe alternatives you've considered
manually wrapping code in
try-catch
blocks is cumbersome.Additional context
https://github.com/paragonie/easydb/blob/38cfac4bbd96960628ca3237ed98f3f344ffdd7b/src/EasyDB.php#L1249
The text was updated successfully, but these errors were encountered: