Skip to content

Commit

Permalink
bug #36434 [HttpKernel] silence E_NOTICE triggered since PHP 7.4 (xab…
Browse files Browse the repository at this point in the history
…buh)

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
  • Loading branch information
fabpot committed Apr 12, 2020
2 parents 6a27337 + c4e2c44 commit 4e6a3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Log/Logger.php
Expand Up @@ -77,7 +77,7 @@ public function log($level, $message, array $context = [])
}

$formatter = $this->formatter;
fwrite($this->handle, $formatter($level, $message, $context));
@fwrite($this->handle, $formatter($level, $message, $context));
}

/**
Expand Down

0 comments on commit 4e6a3bd

Please sign in to comment.