-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Unexpected characters using YAML compact syntax #37788
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
Labels
Comments
There is no breakpoint from this loop https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Yaml/Parser.php#L1230 |
Yes please 👍 |
RevZer0
added a commit
to RevZer0/symfony
that referenced
this issue
Aug 18, 2020
fabpot
added a commit
that referenced
this issue
Nov 19, 2020
This PR was merged into the 4.4 branch. Discussion ---------- [Yaml] fix lexing nested sequences/mappings | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #34805, #37788, #37876, #39011, #39013, #39064 | License | MIT | Doc PR | Commits ------- 4c15f80 fix lexing nested sequences/mappings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected: 5.1.3
Description
I am reading the following YAML file, but I get a parser exception.
How to reproduce
This is the code:
I am reading the following YAML file:
This is the error:
If I move line
override_value: "global"
to the begining of the file, the problem dissapears:The text was updated successfully, but these errors were encountered: