Check REQUEST_METHOD in  to detect http request instead of using PHP_SAPI
Check REQUEST_METHOD in  to detect http request instead of using PHP_SAPI

patrick91/raven-php,getsentry/raven-php,madssj/raven-php,theand/raven-php,ManhattanPrep/raven-php,mfn/raven-php,nokitakaze/sentry-php,cpascal/raven-php,getsentry/sentry-php,ruudk/sentry-client,getsentry/sentry-php,ste93cry/sentry-php,hautelook/sentry-client