Skip to content

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

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

Merged
merged 1 commit into from
Aug 10, 2022
Merged

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

merged 1 commit into from
Aug 10, 2022

Conversation

SVillette
Copy link
Contributor

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.

@fabpot
Copy link
Member

fabpot commented Aug 10, 2022

Thank you @SVillette.

@fabpot fabpot merged commit c58f77f into symfony:5.4 Aug 10, 2022
@SVillette SVillette deleted the fix-47235 branch August 10, 2022 09:45
This was referenced Aug 26, 2022
@fabpot fabpot mentioned this pull request Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants