Skip to content
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

YAML dumper flags #6226

Closed
7 tasks done
xabbuh opened this issue Feb 5, 2016 · 3 comments
Closed
7 tasks done

YAML dumper flags #6226

xabbuh opened this issue Feb 5, 2016 · 3 comments
Labels
actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue. Yaml
Milestone

Comments

@xabbuh
Copy link
Member

xabbuh commented Feb 5, 2016

symfony/symfony#17578 introduces the possibility to customise the dumped YAML string by passing a bit field of dumper flags.

Symfony 3.1 introduces quite some options that you can use to customise the behaviour of both the parser and the dumper (and also added some more additional features):

@HeahDude
Copy link
Contributor

Has anyone started to work on this one yet? It would be very nice to have this doc!

I can try to give it some time this week end if you want.

@xabbuh
Copy link
Member Author

xabbuh commented Apr 30, 2016

@HeahDude Feel free to do so. I didn't work on this yet. You can use this blog post as a starting point.

wouterj added a commit that referenced this issue May 21, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

Advanced YAML component usage

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | 2.3 > 3.0 (i think)
| Fixed tickets | #6524

Prerequisite to #6226

This PR documents the (now deprecated) features for indentation, invalid types and object serialization which have been present since sf 2.3

Commits
-------

3249cbb Advanced YAML component usage
@xabbuh xabbuh added the actionable Clear and specific issues ready for anyone to take them. label May 22, 2016
@HeahDude HeahDude modified the milestones: 3.2, 3.1 Apr 15, 2017
@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label Feb 5, 2018
javiereguiluz added a commit that referenced this issue Feb 7, 2018
This PR was squashed before being merged into the 3.4 branch (closes #9205).

Discussion
----------

Documented the missing YAML flags

This finishes #6226.

Commits
-------

6ecf051 Documented the missing YAML flags
@javiereguiluz
Copy link
Member

Closing as fixed because the last missing flags were documented in #9205.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue. Yaml
Projects
None yet
Development

No branches or pull requests

3 participants