Skip to content

Commit

Permalink
Preventing PHPUnit failure when project.local.yml is empty. (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Nov 18, 2016
1 parent 31df21c commit 222de74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/src/BltProjectTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct($name = NULL, array $data = [], $dataName = '') {
throw new \Exception("Could not find project.yml!");
}
if (file_exists("{$this->projectDirectory}/blt/project.local.yml")) {
$this->config = array_replace_recursive($this->config, Yaml::parse(file_get_contents("{$this->projectDirectory}/blt/project.local.yml")));
$this->config = array_replace_recursive($this->config, (array) Yaml::parse(file_get_contents("{$this->projectDirectory}/blt/project.local.yml")));
}
}

Expand Down

0 comments on commit 222de74

Please sign in to comment.