Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Exception: Use Hoa\Exception.
Browse files Browse the repository at this point in the history
The core is being splitted into several libraries. `Hoa\Exception` is
one of them.
  • Loading branch information
Hywan committed Nov 23, 2015
1 parent ec0849f commit 50e99db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
5 changes: 3 additions & 2 deletions Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@
namespace Hoa\Compiler\Exception;

use Hoa\Core;
use Hoa\Exception as HoaException;

/**
* Class \Hoa\Compiler\Exception.
*
* Extending the \Hoa\Core\Exception class.
* Extending the \Hoa\Exception\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
class Exception extends Core\Exception
class Exception extends HoaException\Exception
{
}

Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
"source": "http://git.hoa-project.net/"
},
"require": {
"hoa/core" : "~2.0",
"hoa/file" : "~0.0",
"hoa/iterator": "~1.0",
"hoa/math" : "~0.0",
"hoa/regex" : "~0.0",
"hoa/visitor" : "~1.0"
"hoa/core" : "~2.0",
"hoa/exception": "~0.0",
"hoa/file" : "~0.0",
"hoa/iterator" : "~1.0",
"hoa/math" : "~0.0",
"hoa/regex" : "~0.0",
"hoa/visitor" : "~1.0"
},
"require-dev": {
"hoa/json": "~1.0",
Expand Down

0 comments on commit 50e99db

Please sign in to comment.