Skip to content

Commit e5d11f5

Browse files
committed
minor #77 updated deprecated use of Yaml::parse (sgilberg)
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
2 parents 8f9608d + 5bff259 commit e5d11f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/ProcessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function testParameterHandling($testCaseName)
102102
'environment' => array(),
103103
'interactive' => false,
104104
),
105-
(array) Yaml::parse($dataDir.'/setup.yml')
105+
(array) Yaml::parse(file_get_contents($dataDir.'/setup.yml'))
106106
);
107107

108108
$workingDir = sys_get_temp_dir() . '/incenteev_parameter_handler';

0 commit comments

Comments
 (0)