Skip to content

Commit 819411d

Browse files
minor #57841 [ErrorHandler] Fix E_STRICT logging level (alexandre-daubois)
This PR was merged into the 7.1 branch. Discussion ---------- [ErrorHandler] Fix `E_STRICT` logging level | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Following #57799. In more recent branches, E_* errors logging level were raised from warnings to errors. Commits ------- 390ed6d [ErrorHandler] Fix `E_STRICT` logging level
2 parents 1dbc465 + 390ed6d commit 819411d

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy