Skip to content

Commit

Permalink
Merge pull request #722 from Greg808/update-errorhandler
Browse files Browse the repository at this point in the history
Exclude deprecations from custom error handler
  • Loading branch information
wilr committed Sep 18, 2019
2 parents 2791bc2 + ab48cc0 commit 851705d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checkout/OrderProcessor.php
Expand Up @@ -306,7 +306,7 @@ public function placeOrder()
function ($severity, $message, $file, $line) {
throw new ErrorException($message, 0, $severity, $file, $line);
},
E_ALL & ~(E_STRICT | E_NOTICE)
E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED | E_USER_DEPRECATED)
);

try {
Expand Down

0 comments on commit 851705d

Please sign in to comment.