Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
Merge commit '0e25c4eb7418a3015daa124a7bb2f23b0d9478ef'
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Apr 30, 2018
2 parents f6dab7f + b268990 commit 6568a02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Exception/FileNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Class FileNotFoundException
* @package Toolkit\File\Exception
*/
class FileNotFoundException extends \Exception
class FileNotFoundException extends \RuntimeException
{

}
6 changes: 3 additions & 3 deletions src/ReadTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
use Toolkit\File\Exception\FileNotFoundException;
use Toolkit\File\Exception\FileSystemException;
use Toolkit\File\Exception\FileReadException;
use Toolkit\File\Parsers\IniParser;
use Toolkit\File\Parsers\JsonParser;
use Toolkit\File\Parsers\YmlParser;
use Toolkit\File\Parser\IniParser;
use Toolkit\File\Parser\JsonParser;
use Toolkit\File\Parser\YmlParser;

/**
* Class Read
Expand Down
1 change: 1 addition & 0 deletions test/boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
$file = __DIR__ . "/{$path}.php";
} elseif (0 === strpos($class,'Toolkit\File\\')) {
$path = str_replace('\\', '/', substr($class, strlen('Toolkit\File\\')));

$file = dirname(__DIR__) . "/src/{$path}.php";
}

Expand Down

0 comments on commit 6568a02

Please sign in to comment.