aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:23:05 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:23:05 +0100
commit6b8151076bc3912ea65ef996d2b95fdb76735dff (patch)
tree3b2e47577a5494436506baab4fe1fa8106ed4ba2
parent935d1c8bf95c0e45dec629380eac55249e480861 (diff)
downloadMime-6b8151076bc3912ea65ef996d2b95fdb76735dff.zip
Mime-6b8151076bc3912ea65ef996d2b95fdb76735dff.tar.gz
Mime-6b8151076bc3912ea65ef996d2b95fdb76735dff.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Exception/Exception.php4
-rw-r--r--Mime.php3
-rw-r--r--composer.json7
3 files changed, 8 insertions, 6 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index a51e884..bee2b81 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -36,7 +36,7 @@
namespace Hoa\Mime\Exception;
-use Hoa\Core;
+use Hoa\Consistency;
use Hoa\Exception as HoaException;
/**
@@ -54,4 +54,4 @@ class Exception extends HoaException
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Mime\Exception\Exception');
+Consistency::flexEntity('Hoa\Mime\Exception\Exception');
diff --git a/Mime.php b/Mime.php
index dacf41e..bf36a7e 100644
--- a/Mime.php
+++ b/Mime.php
@@ -36,6 +36,7 @@
namespace Hoa\Mime;
+use Hoa\Consistency;
use Hoa\Core;
use Hoa\Stream;
@@ -486,4 +487,4 @@ class Mime implements Core\Parameter\Parameterizable
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Mime\Mime');
+Consistency::flexEntity('Hoa\Mime\Mime');
diff --git a/composer.json b/composer.json
index 25be8b1..c5dc1ea 100644
--- a/composer.json
+++ b/composer.json
@@ -21,9 +21,10 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/exception": "~0.0",
- "hoa/stream" : "~0.0"
+ "hoa/consistency": "~0.0",
+ "hoa/core" : "~2.0",
+ "hoa/exception" : "~0.0",
+ "hoa/stream" : "~0.0"
},
"require-dev": {
"hoa/file": "~0.0",