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

Skip to content

[Yaml] deprecate the Dumper::setIndentation() method #17746

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 12, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Feb 9, 2016

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

@@ -24,6 +24,9 @@ Serializer
Yaml
----

* The `Dumper::setIndentation()` method was removed. Pass the indentation
level to the constructor instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

Technically the method was not removed yet.

Copy link
Member Author

Choose a reason for hiding this comment

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

Technically, you are right (I forgot to reply to your comment on your PR last week, sorry for that). But I think we should keep the upgrade files in sync (we did the same during the development of the 2.x versions with the UPGRADE-3.0.md file). Otherwise we would need to spend a lot of time on syncing the files when the development of 4.0 starts.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm only worried that we document that something was removed in UPGRADE-4.0.md file, but then we forget to remove it.

Copy link
Member

Choose a reason for hiding this comment

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

well, forgetting to remove deprecated APIs would be a failure in our process anyway

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair enough.

I documented the change mentioned by xabbuh here: #17753.

@fabpot
Copy link
Member

fabpot commented Feb 12, 2016

Thank you @xabbuh.

@fabpot fabpot merged commit de4b207 into symfony:master Feb 12, 2016
fabpot added a commit that referenced this pull request Feb 12, 2016
…xabbuh)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] deprecate the Dumper::setIndentation() method

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

Commits
-------

de4b207 deprecate the Dumper::setIndentation() method
@xabbuh xabbuh deleted the deprecate-set-indentation branch February 12, 2016 07:22
@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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants