Skip to content

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