Skip to content

Commit

Permalink
Merge pull request #8 from Evaneos/fix-yaml
Browse files Browse the repository at this point in the history
Fix deprecated usage
  • Loading branch information
Johann Saunier committed Jun 3, 2015
2 parents 5a0ee8a + f3a828a commit 64419ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DICIT/Config/YML.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function loadFile($filePath)
$yml = array();
$dirname = dirname($filePath);
$yaml = new \Symfony\Component\Yaml\Yaml();
$res = $yaml->parse($filePath);
$res = $yaml->parse(file_get_contents($filePath));

foreach ($res as $key => $value) {
if ($key == 'include') {
Expand Down

0 comments on commit 64419ae

Please sign in to comment.