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

Commit c9a0791

Browse files
committed
Exception: Use Hoa\Exception.
The core is being splitted into several libraries. `Hoa\Exception` is one of them.
1 parent 6d16313 commit c9a0791

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Exception.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636

3737
namespace Hoa\Stringbuffer;
3838

39-
use Hoa\Core;
39+
use Hoa\Exception as HoaException;
4040

4141
/**
4242
* Class \Hoa\Stringbuffer\Exception.
4343
*
44-
* Extending the \Hoa\Core\Exception class.
44+
* Extending the \Hoa\Exception\Exception class.
4545
*
4646
* @copyright Copyright © 2007-2015 Hoa community
4747
* @license New BSD License
4848
*/
49-
class Exception extends Core\Exception
49+
class Exception extends HoaException
5050
{
5151
}

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
"source": "http://git.hoa-project.net/"
2222
},
2323
"require": {
24-
"hoa/core" : "~2.0",
25-
"hoa/stream": "~0.0"
24+
"hoa/core" : "~2.0",
25+
"hoa/exception": "~0.0",
26+
"hoa/stream" : "~0.0"
2627
},
2728
"autoload": {
2829
"psr-4": {

0 commit comments

Comments
 (0)