aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 22:11:40 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 22:11:40 +0100
commitca767e7f16cace146268b4caf57e20ce438acb57 (patch)
tree2d518416c72461b709af7e590351f9a1b1240f47
parent1335d3d95007fd95ce33e75bb97a8b665c86dc79 (diff)
downloadUstring-ca767e7f16cace146268b4caf57e20ce438acb57.zip
Ustring-ca767e7f16cace146268b4caf57e20ce438acb57.tar.gz
Ustring-ca767e7f16cace146268b4caf57e20ce438acb57.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Ustring.php4
-rw-r--r--composer.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/Ustring.php b/Ustring.php
index 8558847..c0324cf 100644
--- a/Ustring.php
+++ b/Ustring.php
@@ -36,7 +36,7 @@
namespace Hoa\Ustring;
-use Hoa\Core;
+use Hoa\Consistency;
/**
* Class \Hoa\Ustring.
@@ -1055,7 +1055,7 @@ class Ustring implements \ArrayAccess, \Countable, \IteratorAggregate
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Ustring\Ustring');
+Consistency::flexEntity('Hoa\Ustring\Ustring');
if (false === Ustring::checkMbString()) {
throw new Exception(
diff --git a/composer.json b/composer.json
index a8287bb..ddc7b24 100644
--- a/composer.json
+++ b/composer.json
@@ -21,8 +21,9 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/exception": "~0.0"
+ "hoa/consistency": "~0.0",
+ "hoa/core" : "~2.0",
+ "hoa/exception" : "~0.0"
},
"require-dev": {
"hoa/test": "~1.0"