Commit c58f77f
committed
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[HttpKernel] Fix passing `null` to `\trim()` method in LoggerDataCollector
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #47235
| License | MIT
| Doc PR | -
The full explanation of the bug context is described in the [reproducer](https://github.com/SVillette/SymfonyTrimDeprecationReproducer) repository
To be short, the fact of logging deprecations in dev environment and accessing the deprecations panel in the profiler triggered a PHP deprecation because the `\trim()` method was called with `null`.
Commits
-------
b2fea03 [HttpKernel] Fix passing `null` to `\trim()` method in LoggerDataCollector
File tree
1 file changed
+1
-1
lines changed- src/Symfony/Component/HttpKernel/DataCollector
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments