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

Symfony component Yaml has deprecated Yaml::parse #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Symfony component Yaml has deprecated Yaml::parse #46

wants to merge 1 commit into from

Conversation

abelland
Copy link

this code avoids deprecated error message in current version.

this code avoids deprecated error message in current version.
mdwheele pushed a commit to mdwheele/opencfp that referenced this pull request Jun 30, 2015
See igorw/ConfigServiceProvider#46

When the above PR is merged, we can revert this commit. The current code
is throwing errors in the test suite due to deprecation notices from Yaml::parse.
We haven't upgraded this package so no idea why we started getting notices like
this but it is what it is.

Parse method now triggers a warning if you give it a path. It expects the yaml file
contents, not a path. This patch adds a provider that extends Igor's and makes
this change. We then sub this provider into the ChainConfigProvider instead of
using SilexConfigServiceProvider's default.
mdwheele pushed a commit to mdwheele/opencfp that referenced this pull request Jul 6, 2015
See igorw/ConfigServiceProvider#46

When the above PR is merged, we can revert this commit. The current code
is throwing errors in the test suite due to deprecation notices from Yaml::parse.
We haven't upgraded this package so no idea why we started getting notices like
this but it is what it is.

Parse method now triggers a warning if you give it a path. It expects the yaml file
contents, not a path. This patch adds a provider that extends Igor's and makes
this change. We then sub this provider into the ChainConfigProvider instead of
using SilexConfigServiceProvider's default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant