aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:19:54 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:19:54 +0100
commite40b4eb1e5dff411a5733dc17b27668cd7c3b2e8 (patch)
tree3384972e38d6e0ca1c58241ae275819dd5c71256
parent46858a69803eb83aa9a135f0418ad0e6910436cf (diff)
downloadMail-e40b4eb1e5dff411a5733dc17b27668cd7c3b2e8.zip
Mail-e40b4eb1e5dff411a5733dc17b27668cd7c3b2e8.tar.gz
Mail-e40b4eb1e5dff411a5733dc17b27668cd7c3b2e8.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Content/Content.php4
-rw-r--r--Content/Encoder/Encoder.php4
-rw-r--r--Exception/Exception.php4
-rw-r--r--composer.json7
4 files changed, 10 insertions, 9 deletions
diff --git a/Content/Content.php b/Content/Content.php
index 54bcd6d..072d518 100644
--- a/Content/Content.php
+++ b/Content/Content.php
@@ -36,7 +36,7 @@
namespace Hoa\Mail\Content;
-use Hoa\Core;
+use Hoa\Consistency;
use Hoa\Mail;
/**
@@ -286,4 +286,4 @@ abstract class Content implements \ArrayAccess
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Mail\Content\Content');
+Consistency::flexEntity('Hoa\Mail\Content\Content');
diff --git a/Content/Encoder/Encoder.php b/Content/Encoder/Encoder.php
index e3e4a6b..130a3ca 100644
--- a/Content/Encoder/Encoder.php
+++ b/Content/Encoder/Encoder.php
@@ -36,7 +36,7 @@
namespace Hoa\Mail\Content\Encoder;
-use Hoa\Core;
+use Hoa\Consistency;
/**
* Interface \Hoa\Mail\Content\Encoder\Encoder.
@@ -70,4 +70,4 @@ interface Encoder
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Mail\Content\Encoder\Encoder');
+Consistency::flexEntity('Hoa\Mail\Content\Encoder\Encoder');
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 2b6455b..799ce48 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -36,7 +36,7 @@
namespace Hoa\Mail\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\Mail\Exception\Exception');
+Consistency::flexEntity('Hoa\Mail\Exception\Exception');
diff --git a/composer.json b/composer.json
index 82acca9..b10ebb1 100644
--- a/composer.json
+++ b/composer.json
@@ -23,9 +23,10 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/exception": "~0.0",
- "hoa/mime" : "~2.0"
+ "hoa/consistency": "~0.0",
+ "hoa/core" : "~2.0",
+ "hoa/exception" : "~0.0",
+ "hoa/mime" : "~2.0"
},
"require-dev": {
"hoa/file": "~0.0",