-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Yaml] Implement $blockChompingIndicator for TaggedValue multi-line literal blocks #40431
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
base: 7.4
Are you sure you want to change the base?
[Yaml] Implement $blockChompingIndicator for TaggedValue multi-line literal blocks #40431
Conversation
@xabbuh Hi, not sure why |
Can you please add a few more test cases to cover all the branches? |
@nicolas-grekas Thank you for your reply, sorry I just want to clarify.. What do you mean by "cover all the branches"?
Thank you |
that yes :) |
@natepage You can ignore that build failure. It's not related to your changes. |
@natepage Do you need help with writing a test? :) |
@xabbuh I should be ok for the test, any tips on raising a kid? 😄 Sorry I had a few concurrent priorities just after creating the PR. Having a look at the code, I've realised there was a difference between scalar and tagged values regarding trailing newlines so I've updated the code to match, and reused your test @nicolas-grekas The Dumper is now 100% covered. |
As this is a new feature, this should target the main branch (5.4 as of today). |
@fabpot Thank you for your feedback, I've changed the base branch to 5.4 |
@xabbuh Can you have a look at this one please? |
4c513c2 introduced the notion of
$blockChompingIndicator
for multi-line literal blocks.This PR implements the same logic for TaggedValue multi-line literal blocks.