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

Commit

Permalink
Enable usage of updated dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Dec 8, 2015
1 parent f486aef commit fb4c215
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## Unreleased

* Allow usage of phpunit/phpunit ^5.0
* Allow usage of symfony/yaml ^3.0

## 3.0 - 2015-08-13

* Update egeloen/http-adapter to 0.8
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"require": {
"egeloen/http-adapter": "^0.8.0",
"symfony/yaml": "^2.6",
"symfony/event-dispatcher": "^2.6"
"symfony/yaml": "^2.6|^3.0",
"symfony/event-dispatcher": "^2.6|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.6",
"phpunit/phpunit": "^4.6|^5.0",
"fabpot/php-cs-fixer": "^1.6"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Event/TapeRecorder/Tape.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function load()
$filePath = $this->getFilePath();

if (is_file($filePath) && is_readable($filePath)) {
$data = Yaml::parse($filePath);
$data = Yaml::parse(file_get_contents($filePath));
foreach ($data as $item) {
$this->writeTrack($this->converter->arrayToTrack($item));
}
Expand Down

0 comments on commit fb4c215

Please sign in to comment.