@@ -18,12 +18,12 @@ |
||
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" |
@@ -14,7 +14,6 @@ |
||
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; |