Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ClassMapLoader does not show warnings anymore, if the class map file …

…is invalid.
  • Loading branch information...
commit 766dda18483435f54e2ac90538ee10a12662cbcb 1 parent 3c12a84
Tomasz Jędrzejewski zyxist authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Opl/Autoloader/ClassMapLoader.php
2  src/Opl/Autoloader/ClassMapLoader.php
View
@@ -66,7 +66,7 @@ public function __construct($defaultPath, $classMapLocation)
{
throw new RuntimeException('Cannot find a class map under the specified location.');
}
- $this->classMap = unserialize(file_get_contents($this->classMapLocation));
+ $this->classMap = @unserialize(file_get_contents($this->classMapLocation));
if(!is_array($this->classMap))
{
Please sign in to comment.
Something went wrong with that request. Please try again.