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] mark the Inline class as internal #17740

Merged
merged 1 commit into from Feb 16, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Feb 9, 2016

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

Users imo should use the Yaml class as the only entry point. Thus marking the other classes as internal makes it easier for us to break BC in them when implementing new features in Symfony 4.

@fabpot
Copy link
Member

fabpot commented Feb 9, 2016

the Dumper and Parser should probably be kept as not-internal as I find it useful to create one parser/dumper and reuse it in more than one place. But we can probably mark some public methods as internal.

@xabbuh xabbuh changed the title [Yaml] mark some classes as internal [Yaml] mark the Inline class as internal Feb 9, 2016
@xabbuh
Copy link
Member Author

xabbuh commented Feb 9, 2016

okay, then let's only mark the Inline class as internal and deprecate the Dumper::setIndentation() method (see #17746)

@fabpot
Copy link
Member

fabpot commented Feb 16, 2016

Thank you @xabbuh.

@fabpot fabpot merged commit 09a54ef into symfony:master Feb 16, 2016
fabpot added a commit that referenced this pull request Feb 16, 2016
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] mark the Inline class as internal

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

Users imo should use the `Yaml` class as the only entry point. Thus marking the other classes as internal makes it easier for us to break BC in them when implementing new features in Symfony 4.

Commits
-------

09a54ef [Yaml] mark the Inline class as internal
@xabbuh xabbuh deleted the yaml-internal-classes branch February 16, 2016 08:10
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.

None yet

3 participants