Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Yaml] use static Yaml API#6598

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wouterj merged 1 commit intosymfony:2.3fromxabbuh:yaml-tweaks
May 21, 2016
Merged

[Yaml] use static Yaml API#6598

wouterj merged 1 commit intosymfony:2.3fromxabbuh:yaml-tweaks
May 21, 2016

Conversation

xabbuh
Copy link
Member

I don't see a good reasons to explicitly describe the non-static API. If you ever really need to use theParser andDumper classes directly, you will be able to easily figure out how to use them yourself.

@HeahDude
Copy link
Contributor

👍

@wouterj
Copy link
Member

👍

$value = $yaml->parse(file_get_contents('/path/to/file.yml'));
Because it is currently possible to pass a filename to this method, you
must validate the input first. Passing a filename is deprecated in
Symfony 2.2, and will be removed in Symfony 3.0.

Choose a reason for hiding this comment

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

will be removed ->was removed ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

fixed

@javiereguiluz
Copy link
Member

A big 👍 from me!

@wouterj
Copy link
Member

Thanks Christian.

@wouterjwouterj merged commit7dd4bae intosymfony:2.3May 21, 2016
wouterj added a commit that referenced this pull requestMay 21, 2016
This PR was merged into the 2.3 branch.Discussion----------[Yaml] use static Yaml APII don't see a good reasons to explicitly describe the non-static API. If you ever really need to use the `Parser` and `Dumper` classes directly, you will be able to easily figure out how to use them yourself.Commits-------7dd4bae use static Yaml API
@xabbuhxabbuh deleted the yaml-tweaks branchMay 21, 2016 19:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@xabbuh@HeahDude@wouterj@javiereguiluz

[8]ページ先頭

©2009-2025 Movatter.jp