Skip to content

Commit a236184

Browse files
committed
Remove strict severity
Strict severity is no longer needed and has been deprecated.
1 parent 30411b6 commit a236184

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "maplephp/blunder",
33
"type": "library",
4-
"version": "v1.2.0",
4+
"version": "v1.2.1",
55
"description": "Blunder is a well-designed PHP error handling framework.",
66
"keywords": [
77
"php",

src/ExceptionItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function getStatus(): string
120120
E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, 0 => "error",
121121
E_WARNING, E_USER_WARNING, E_COMPILE_WARNING => "warning",
122122
E_NOTICE, E_USER_NOTICE => "notice",
123-
E_STRICT, E_DEPRECATED, E_USER_DEPRECATED => "info",
123+
E_DEPRECATED, E_USER_DEPRECATED => "info",
124124
default => "debug",
125125
};
126126

src/SeverityLevelPool.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class SeverityLevelPool
2828
E_USER_ERROR => 'E_USER_ERROR',
2929
E_USER_WARNING => 'E_USER_WARNING',
3030
E_USER_NOTICE => 'E_USER_NOTICE',
31-
E_STRICT => 'E_STRICT',
3231
E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR',
3332
E_DEPRECATED => 'E_DEPRECATED',
3433
E_USER_DEPRECATED => 'E_USER_DEPRECATED',

0 commit comments

Comments
 (0)