aboutsummaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-05-29 12:24:23 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-05-29 12:24:23 +0200
commit0278566a5fc6c26d9ef114ed18c2705a73e8635a (patch)
tree6e6ec677dd7bba40f7861c1cb348e9f8de3f87bd /Test
parentcedbbdb85a5897e48e276ada329242d48dd719d9 (diff)
downloadUstring-0278566a5fc6c26d9ef114ed18c2705a73e8635a.zip
Ustring-0278566a5fc6c26d9ef114ed18c2705a73e8635a.tar.gz
Ustring-0278566a5fc6c26d9ef114ed18c2705a73e8635a.tar.bz2
Rename `Hoa\String` to `Hoa\Ustring`.
Quoting https://github.com/php/php-src/blob/7dcfdbbee4/UPGRADING#L378-L387: > It is no longer possible to use the following class, interface and trait names > (case-insensitive): > > * bool > * int > * float > * string > * null > * false > * true
Diffstat (limited to 'Test')
-rw-r--r--Test/Unit/Issue.php6
-rw-r--r--Test/Unit/Search.php6
-rw-r--r--Test/Unit/Ustring.php (renamed from Test/Unit/String.php)12
3 files changed, 12 insertions, 12 deletions
diff --git a/Test/Unit/Issue.php b/Test/Unit/Issue.php
index 9e21a33..34b3db6 100644
--- a/Test/Unit/Issue.php
+++ b/Test/Unit/Issue.php
@@ -34,13 +34,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-namespace Hoa\String\Test\Unit;
+namespace Hoa\Ustring\Test\Unit;
-use Hoa\String as LUT;
+use Hoa\Ustring as LUT;
use Hoa\Test;
/**
- * Class \Hoa\String\Test\Unit\Issue.
+ * Class \Hoa\Ustring\Test\Unit\Issue.
*
* Test suite of detected issues.
*
diff --git a/Test/Unit/Search.php b/Test/Unit/Search.php
index dbc5fc4..7f5ab53 100644
--- a/Test/Unit/Search.php
+++ b/Test/Unit/Search.php
@@ -34,13 +34,13 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-namespace Hoa\String\Test\Unit;
+namespace Hoa\Ustring\Test\Unit;
-use Hoa\String as LUT;
+use Hoa\Ustring as LUT;
use Hoa\Test;
/**
- * Class \Hoa\String\Test\Unit\Search.
+ * Class \Hoa\Ustring\Test\Unit\Search.
*
* Test suite of the search algorithms.
*
diff --git a/Test/Unit/String.php b/Test/Unit/Ustring.php
index 0757b95..0443892 100644
--- a/Test/Unit/String.php
+++ b/Test/Unit/Ustring.php
@@ -34,20 +34,20 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-namespace Hoa\String\Test\Unit;
+namespace Hoa\Ustring\Test\Unit;
-use Hoa\String as LUT;
+use Hoa\Ustring as LUT;
use Hoa\Test;
/**
- * Class \Hoa\String\Test\Unit\String.
+ * Class \Hoa\Ustring\Test\Unit\Ustring.
*
* Test suite of the string class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
-class String extends Test\Unit\Suite
+class Ustring extends Test\Unit\Suite
{
public function case_no_mbstring()
{
@@ -60,7 +60,7 @@ class String extends Test\Unit\Suite
->exception(function () {
new LUT();
})
- ->isInstanceOf('Hoa\String\Exception');
+ ->isInstanceOf('Hoa\Ustring\Exception');
}
public function case_append_ltr()
@@ -924,7 +924,7 @@ class String extends Test\Unit\Suite
->exception(function () use ($string) {
$string->toAscii();
})
- ->isInstanceOf('Hoa\String\Exception');
+ ->isInstanceOf('Hoa\Ustring\Exception');
}
public function case_to_ascii_no_transliterator_no_normalizer_try()