8000 bug #36434 [HttpKernel] silence E_NOTICE triggered since PHP 7.4 (xab… · symfony/symfony@4e6a3bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e6a3bd

Browse files
committed
bug #36434 [HttpKernel] silence E_NOTICE triggered since PHP 7.4 (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpKernel] silence E_NOTICE triggered since PHP 7.4 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #36413 | License | MIT | Doc PR | Commits ------- c4e2c44 silence E_NOTICE triggered since PHP 7.4
2 parents 6a27337 + c4e2c44 commit 4e6a3bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Log/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function log($level, $message, array $context = [])
7777
}
7878

7979
$formatter = $this->formatter;
80-
fwrite($this->handle, $formatter($level, $message, $context));
80+
@fwrite($this->handle, $formatter($level, $message, $context));
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)
0