Test Setup Failed
Pull Request — master (#40)
by Simon
02:15
created
src/Adaptor/SentrySeverity.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,12 +18,12 @@
 block discarded – undo
18 18
 class SentrySeverity
19 19
 {
20 20
         /**
21
-     * Maps PHP's internal error-types into those suited to {@link Severity}.
22
-     *
23
-     * @param  mixed int|string $severity The incoming level from userland code or
24
-     *                                    PHP itself.
25
-     * @return string
26
-     */
21
+         * Maps PHP's internal error-types into those suited to {@link Severity}.
22
+         *
23
+         * @param  mixed int|string $severity The incoming level from userland code or
24
+         *                                    PHP itself.
25
+         * @return string
26
+         */
27 27
     public static function process_severity($severity) : string
28 28
     {
29 29
         // Stringified PHP severities out of \backtrace() like "notice"
Please login to merge, or discard this patch.
src/Adaptor/SentryAdaptor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Sentry\State\Scope;
15 15
 use Sentry\ClientInterface;
16 16
 use Sentry\Severity;
17
-use SilverStripe\Control\Director;
18 17
 use SilverStripe\Core\Config\Configurable;
19 18
 use SilverStripe\Core\Injector\Injector;
20 19
 use SilverStripe\Core\Environment as Env;
Please login to merge, or discard this patch.