Added option to treat errors in PHP as warning in Sentry