aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-20 07:44:10 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-11-23 22:51:06 +0100
commit378d5ee5a01a132ddf927fb51568587436c83614 (patch)
tree78f849fbf2de23d1f68a3a8d2ef19ba4091a3a8e
parent4fb55dcae9866dea6c6a499f7f04bed5cbd3171c (diff)
downloadEventsource-378d5ee5a01a132ddf927fb51568587436c83614.zip
Eventsource-378d5ee5a01a132ddf927fb51568587436c83614.tar.gz
Eventsource-378d5ee5a01a132ddf927fb51568587436c83614.tar.bz2
Exception: Use `Hoa\Exception`.
The core is being splitted into several libraries. `Hoa\Exception` is one of them.
-rw-r--r--Exception.php6
-rw-r--r--composer.json5
2 files changed, 6 insertions, 5 deletions
diff --git a/Exception.php b/Exception.php
index c4b1596..bfd1fdf 100644
--- a/Exception.php
+++ b/Exception.php
@@ -36,16 +36,16 @@
namespace Hoa\Eventsource;
-use Hoa\Core;
+use Hoa\Exception as HoaException;
/**
* Class \Hoa\Eventsource\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
{
}
diff --git a/composer.json b/composer.json
index ef3319e..b1c40ef 100644
--- a/composer.json
+++ b/composer.json
@@ -22,8 +22,9 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core": "~2.0",
- "hoa/http": "~0.0"
+ "hoa/core" : "~2.0",
+ "hoa/exception": "~0.0",
+ "hoa/http" : "~0.0"
},
"require-dev": {
"hoa/test": "~1.0"