Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HttpKernel] Fix passing null to \trim() method in LoggerDataCollector #47238

Merged
merged 1 commit into from Aug 10, 2022

Conversation

SVillette
Copy link
Contributor

@SVillette SVillette commented Aug 10, 2022

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 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.

xabbuh
xabbuh approved these changes Aug 10, 2022
fabpot
fabpot approved these changes Aug 10, 2022
@fabpot
Copy link
Member

fabpot commented Aug 10, 2022

Thank you @SVillette.

@fabpot fabpot merged commit c58f77f into symfony:5.4 Aug 10, 2022
1 of 2 checks passed
@SVillette SVillette deleted the fix-47235 branch Aug 10, 2022
This was referenced Aug 26, 2022
@fabpot fabpot mentioned this pull request Sep 30, 2022
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants