You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use a mapping key in a multi-line string, that value is mistakenly treated as part of the string while it should lead to a parser error instead.
This PR was merged into the 4.3-dev branch.
Discussion
----------
[Yaml] Fixed invalid Parser behavior
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #27874
| License | MIT
| Doc PR | NA
This fixes#27874
I'm not sure about the update in composer.json though. It seems a good idea because I was able to run composer update without the zip extension. If required, I'll remove it.
Commits
-------
7bf8381 Added deprecation notice when mapping keys are found in multi-line blocks
Symfony version(s) affected: 3.x/4.x
Description
When you use a mapping key in a multi-line string, that value is mistakenly treated as part of the string while it should lead to a parser error instead.
How to reproduce
ends up in this result:
The text was updated successfully, but these errors were encountered: