Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #160 from DavidPrevot/yaml
Browse files Browse the repository at this point in the history
Pass YAML contents to Yaml::parse
  • Loading branch information
elazar committed May 18, 2015
2 parents ef2231c + adfbc28 commit 93d4d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Extensions/Database/DataSet/SymfonyYamlParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
class PHPUnit_Extensions_Database_DataSet_SymfonyYamlParser implements PHPUnit_Extensions_Database_DataSet_IYamlParser {

public function parseYaml($yamlFile) {
return Symfony\Component\Yaml\Yaml::parse($yamlFile);
return Symfony\Component\Yaml\Yaml::parse(file_get_contents($yamlFile));
}
}

0 comments on commit 93d4d17

Please sign in to comment.