aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:11:00 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:11:00 +0100
commit6c2dd9c2a85c289dd4519b58bf609954c92fc56e (patch)
treec242b75688e0a8320955af620bedc977cf90e694
parent9494d0d7606d79835f02b8e98534e2da895d0570 (diff)
downloadUstring-6c2dd9c2a85c289dd4519b58bf609954c92fc56e.zip
Ustring-6c2dd9c2a85c289dd4519b58bf609954c92fc56e.tar.gz
Ustring-6c2dd9c2a85c289dd4519b58bf609954c92fc56e.tar.bz2
Quality: Run devtools:cs.
-rw-r--r--Bin/Fromcode.php4
-rw-r--r--Bin/Tocode.php4
-rw-r--r--Exception.php4
-rw-r--r--Search.php4
-rw-r--r--Test/Unit/Issue.php4
-rw-r--r--Test/Unit/Search.php4
-rw-r--r--Test/Unit/Ustring.php4
-rw-r--r--Ustring.php6
8 files changed, 17 insertions, 17 deletions
diff --git a/Bin/Fromcode.php b/Bin/Fromcode.php
index 24ccd2e..034f59c 100644
--- a/Bin/Fromcode.php
+++ b/Bin/Fromcode.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Ustring;
*
* Get a character from its code. Please, see Hoa\Ustring\Ustring::fromCode.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Fromcode extends Console\Dispatcher\Kit
diff --git a/Bin/Tocode.php b/Bin/Tocode.php
index 1802ded..7e39511 100644
--- a/Bin/Tocode.php
+++ b/Bin/Tocode.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Ustring;
*
* Transform a character into its code. Please, see Hoa\Ustring\Ustring::toCode.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Tocode extends Console\Dispatcher\Kit
diff --git a/Exception.php b/Exception.php
index 553e3a8..69ff887 100644
--- a/Exception.php
+++ b/Exception.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Exception as HoaException;
*
* Extending the \Hoa\Exception\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends HoaException
diff --git a/Search.php b/Search.php
index 7a203ce..0a8c555 100644
--- a/Search.php
+++ b/Search.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Ustring;
*
* Some algorithms about search in strings.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Search
diff --git a/Test/Unit/Issue.php b/Test/Unit/Issue.php
index 4ede6d1..efd07f0 100644
--- a/Test/Unit/Issue.php
+++ b/Test/Unit/Issue.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Ustring as LUT;
*
* Test suite of detected issues.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Issue extends Test\Unit\Suite
diff --git a/Test/Unit/Search.php b/Test/Unit/Search.php
index 7cff5a1..977d3e5 100644
--- a/Test/Unit/Search.php
+++ b/Test/Unit/Search.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Ustring as LUT;
*
* Test suite of the search algorithms.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Search extends Test\Unit\Suite
diff --git a/Test/Unit/Ustring.php b/Test/Unit/Ustring.php
index 36095d4..5b79c61 100644
--- a/Test/Unit/Ustring.php
+++ b/Test/Unit/Ustring.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Ustring as LUT;
*
* Test suite of the string class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Ustring extends Test\Unit\Suite
diff --git a/Ustring.php b/Ustring.php
index c0324cf..a2cb7e9 100644
--- a/Ustring.php
+++ b/Ustring.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -47,7 +47,7 @@ use Hoa\Consistency;
* • http://unicode.org/reports/tr9/;
* • http://www.unicode.org/Public/6.0.0/ucd/UnicodeData.txt.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Ustring implements \ArrayAccess, \Countable, \IteratorAggregate
@@ -502,7 +502,7 @@ class Ustring implements \ArrayAccess, \Countable, \IteratorAggregate
if (null !== $transliterator = static::getTransliterator($transId)) {
$this->_string = preg_replace_callback(
'#\\\N\{([A-Z ]+)\}#u',
- function (Array $matches) {
+ function (array $matches) {
return '(' . strtolower($matches[1]) . ')';
},
$transliterator->transliterate($string)