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 FileLinkFormatter with empty xdebug.file_link_format #45298

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
fabpot approved these changes Feb 4, 2022
@fabpot
Copy link
Member

@fabpot fabpot commented Feb 4, 2022

Thank you @fancyweb.

@fabpot fabpot merged commit 8db1135 into symfony:6.0 Feb 4, 2022
7 of 9 checks passed
@fancyweb fancyweb deleted the http-kernel/fix-flf branch Feb 4, 2022
@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
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants