Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpKernel] Fix FileLinkFormatter with empty xdebug.file_link_format #45298

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
Feb 4, 2022

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Feb 3, 2022

Q A
Branch? 6.0
Bug fix? yes
New feature? no
Deprecations? no
Tickets #45272
License MIT
Doc PR -

get_cfg_var('xdebug.file_link_format') can return '0' or '' and $fileLinkFormat will remain a string.

Alternative: we could add |string to the $fileLinkFormat property, it's already the case in some other parts of the code, but for this class at least I find it better to not add another type.

@fabpot
Copy link
Member

fabpot commented Feb 4, 2022

Thank you @fancyweb.

@fabpot fabpot merged commit 8db1135 into symfony:6.0 Feb 4, 2022
@fancyweb fancyweb deleted the http-kernel/fix-flf branch February 4, 2022 08:38
@fabpot fabpot mentioned this pull request Feb 28, 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.

3 participants