Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Yaml] introduce flags to customize the parser behavior #17730

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

Merged
merged 1 commit into from
Feb 9, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Feb 8, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets
License MIT
Doc PR symfony/symfony-docs#6226

Since #17578 it is possible to customise dumped YAML strings with an optional bit field. This pull request does the same for the parser part of the Yaml component.

@@ -33,6 +33,21 @@ Serializer
Yaml
----

* Deprecated support for passing `true`/`false` as the third and fourth argument
to the `parse()` methods to toggle object and object for map support.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@fabpot
Copy link
Member

fabpot commented Feb 9, 2016

Thank you @xabbuh.

@fabpot fabpot merged commit 9cb8552 into symfony:master Feb 9, 2016
fabpot added a commit that referenced this pull request Feb 9, 2016
…r (xabbuh)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] introduce flags to customize the parser behavior

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | TODO

Since #17578 it is possible to customise dumped YAML strings with an optional bit field. This pull request does the same for the parser part of the Yaml component.

Commits
-------

9cb8552 introduce flags to customize the parser behavior
@xabbuh xabbuh deleted the yaml-parser-flags branch February 9, 2016 19:57
@xabbuh xabbuh mentioned this pull request Mar 1, 2016
7 tasks
@fabpot fabpot mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants