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

Skip to content

[Yaml] fix parsing comments not prefixed by a space #38229

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
Sep 18, 2020

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Sep 18, 2020

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #38223
License MIT
Doc PR

@stof
Copy link
Member

stof commented Sep 18, 2020

how does this behave for unquoted values ?

@xabbuh
Copy link
Member Author

xabbuh commented Sep 18, 2020

@stof Works the same as before because the internal pointer already points at the end of the unquoted string when the changed line of code is reached. Though I added an additional test case to ensure this doesn't accidentally break in the future.

@stof
Copy link
Member

stof commented Sep 18, 2020

@xabbuh great

@xabbuh xabbuh merged commit 74f41f3 into symfony:3.4 Sep 18, 2020
@xabbuh xabbuh deleted the issue-38223 branch September 18, 2020 09:30
This was referenced Sep 27, 2020
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