Skip to content

Commit

Permalink
Upgrate to 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-mahoney committed Dec 26, 2014
1 parent cb0dba3 commit 208312c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"php" : ">=5.5.0",
"nikic/fast-route": "0.3.0",
"opine/interfaces": "1.0.1",
"opine/config" : "3.0.1",
"opine/container" : "2.0.4",
"opine/bundle" : "2.0.1"
"opine/config" : "3.0.2",
"opine/container" : "2.0.5",
"opine/bundle" : "2.0.2"
},
"require-dev": {
"phpunit/phpunit": "3.7.32"
Expand All @@ -32,5 +32,5 @@
"Opine\\Route\\": "src/"
}
},
"version": "3.0.3"
"version": "3.0.4"
}
3 changes: 0 additions & 3 deletions src/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ private function bundleRoutes(&$routes)
public function yaml($file)
{
try {
if (function_exists('yaml_parse_file')) {
$routes = yaml_parse_file($file);
}
$routes = Yaml::parse(file_get_contents($file));
} catch (Exception $e) {
throw new Exception('Can not parse file: '.$file.', '.$e->getMessage());
Expand Down

0 comments on commit 208312c

Please sign in to comment.