8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Symfony version(s) affected: x.y.z symfony/yaml v4.3.4 Symfony Yaml Component
Description If you dump an array with a high inline value an new line is missing after TaggedValue
TaggedValue
How to reproduce
<?php require __DIR__ . '/vendor/autoload.php'; use Symfony\Component\Yaml\Yaml; $yaml = <<<YAML services: service.id: arguments: [!tagged my.tag] service.id.2: YAML; $services = Yaml::parse($yaml, Yaml::PARSE_CUSTOM_TAGS); $dumped = Yaml::dump($services, 8); echo $dumped;
results in
services: service.id: arguments: - !tagged my.tag service.id.2: null
Possible Solution Add a new line here
The text was updated successfully, but these errors were encountered:
Can you please try if #33377 fixes the issue for you?
Sorry, something went wrong.
that works!
@Selion05 Thank you very much for the feedback. 👍
bug #33377 [Yaml] fix dumping not inlined scalar tag values (xabbuh)
b3cf4fb
This PR was merged into the 3.4 branch. Discussion ---------- [Yaml] fix dumping not inlined scalar tag values | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #33354 | License | MIT | Doc PR | Commits ------- 390f4f4 fix dumping not inlined scalar tag values
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: x.y.z
symfony/yaml v4.3.4 Symfony Yaml Component
Description
If you dump an array with a high inline value an new line is missing after
TaggedValue
How to reproduce
results in
Possible Solution
Add a new line here
The text was updated successfully, but these errors were encountered: