Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

updated deprecated use of Yaml::parse #77

Merged
merged 1 commit into from
Jun 3, 2015
Merged

updated deprecated use of Yaml::parse #77

merged 1 commit into from
Jun 3, 2015

Conversation

sgilberg
Copy link
Contributor

@sgilberg sgilberg commented Jun 2, 2015

Per Symfony documentation: "Passing a filename is deprecated in Symfony 2.2, and will be removed in Symfony 3.0."

Updated use:
Yaml::parse(file_get_contents('/path/to/file.yml'));

@stof
Copy link
Member

stof commented Jun 3, 2015

Good catch, thanks @sgilberg.

@stof stof merged commit 5bff259 into Incenteev:master Jun 3, 2015
stof added a commit that referenced this pull request Jun 3, 2015
This PR was merged into the 2.1.x-dev branch.

Discussion
----------

updated deprecated use of Yaml::parse

Per [Symfony documentation] (http://symfony.com/doc/current/components/yaml/introduction.html): "Passing a filename is deprecated in Symfony 2.2, and will be removed in Symfony 3.0."

Updated use:
`Yaml::parse(file_get_contents('/path/to/file.yml'));`

Commits
-------

5bff259 updated deprecated use of Yaml::parse
@stof
Copy link
Member

stof commented Jun 3, 2015

Released as 2.1.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants