8000 [ErrorHandler] Fix `E_STRICT` logging level · symfony/symfony@390ed6d · GitHub
[go: up one dir, main page]

Skip to content

Commit 390ed6d

Browse files
[ErrorHandler] Fix E_STRICT logging level
1 parent 1dbc465 commit 390ed6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ErrorHandler/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function __construct(?BufferingLogger $bootstrappingLogger = null, bool $
181181
{
182182
if (\PHP_VERSION_ID < 80400) {
183183
$this->levels[\E_STRICT] = 'Runtime Notice';
184-
$this->loggers[\E_STRICT] = [null, LogLevel::WARNING];
184+
$this->loggers[\E_STRICT] = [null, LogLevel::ERROR];
185185
}
186186

187187
if ($bootstrappingLogger) {

0 commit comments

Comments
 (0)
0