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: 5.x-dev
Description Symfony Yaml parser incorrectly parses some block sequences. In particular, if using this test data, the output produced is
[ "- s1_i1 - s1_i2", "s2" ]
which is not the expected output as per the test.
How to reproduce
<?php require_once '../vendor/autoload.php'; $yaml = <<<Y - - s1_i1 - s1_i2 - s2 Y; echo(json_encode(\Symfony\Component\Yaml\Yaml::parse($yaml)));
Additional context Related issues:
The text was updated successfully, but these errors were encountered:
Status: Reviewed
Sorry, something went wrong.
bug #40503 [Yaml] fix parsing some block sequences (a1812)
4e4cdf5
This PR was merged into the 4.4 branch. Discussion ---------- [Yaml] fix parsing some block sequences | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #40438 | License | MIT | Doc PR | Commits ------- 31b0472 fixed parser
No branches or pull requests
Symfony version(s) affected: 5.x-dev
Description
Symfony Yaml parser incorrectly parses some block sequences.
In particular, if using this test data, the output produced is
which is not the expected output as per the test.
How to reproduce
Additional context
Related issues:
The text was updated successfully, but these errors were encountered: