getsentry/raven-php — pull request #130 by F14Z (2014-01-09 13:23:40+00:00)
Title: Respect error_reporting() when registering error handler.

Setting an error handler without error types makes it catch every error (set_error_handler() default to E_ALL | E_STRICT).
Even with a declaration of $error_types on registerErrorHandler(), handleError() would pass errors previously not reported to the old error handler, causing unexpected results.