-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New DUMP_MULTI_LINE_LITERAL_BLOCK doesn't indent at all #17977
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
Comments
Sorry, seems like i've set indentation to 0 which clearly leads to no indentation at all.
which i've copied straight away without thinking about what i do. So, that test-case seems odd to me. |
@schorsch3000 Well, when using the |
@xabbuh Everything seems fine now that i handle the dumper right, Thanks for working on that, and thanks for that fast support that late! |
@schorsch3000 You're welcome. And thanks once again for testing. :) |
…abbuh) This PR was merged into the 2.3 branch. Discussion ---------- [Yaml] ensure dump indentation to be greather than zero | Q | A | ------------- | --- | Branch | 2.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #17943 (comment), #17977 | License | MIT | Doc PR | Commits ------- 3464282 ensure dump indentation to be greather than zero
Hi,
i've tested the new DUMP_MULTI_LINE_LITERAL_BLOCK which got into master a few days ago with eff6902. It seems it doesn't indent the literal block at all as it should.
i've used this simple example:
while requiring "symfony/yaml": "dev-master"
the string in $yaml is:
it should be:
that's because the parser throws:
I don't think that it matters, but since the bug report guidelines talk about this stuff, here are some of my details:
The text was updated successfully, but these errors were encountered: