aboutsummaryrefslogtreecommitdiffstats
path: root/Test
Commit message (Collapse)AuthorAgeFiles
* chore(php) Move to PHP 7.Ivan Enderlin2017-08-303
|
* Test: Remove `case_check_no_mbstring`.Ivan Enderlin2017-04-261
|
* Test: Simplify code.Ivan Enderlin2017-04-261
|
* Quality: Happy new year!Alexis von Glasow2017-01-123
|
* Test: Add the `Decorrelated` interface.Ivan Enderlin2016-10-251
|
* Quality: Run devtools:cs.Ivan Enderlin2016-01-093
|
* `ext/iconv` is suggested, no longer required.Ivan Enderlin2015-08-031
| | | | | | | | | | | | | | | | First, this patch introduces and testes the `checkIconv` static method that checks whether the `ext/iconv` extension is available or not. Second, this method is used in the `Ustring::transcode` static method to test whether this extension is available. If not, then an exception is thrown. Finally, because this is only for one method **and** to allow third implementation to be used instead of the official `ext/iconv` extension, this extension is now suggested instead of required in the `composer.json` file. It removes one (strong) dependency to projects using `hoa/ustring` if they are sure to not use `Hoa\Ustring::transcode`.
* Fix CS.Ivan Enderlin2015-08-032
|
* Test `ext/mbstring` availability globally.Ivan Enderlin2015-08-031
| | | | | | | | | | | | | | | First, in the constructor, we tested whether the `ext/mbstring` extension was available or not. This check was made each time the constructor run. This is useless and we can optimize it. Second, some static methods were using `ext/mbstring`, so this check was not made and this situation could lead to unexpected errors. This patch introduces and testes the `checkMbString` static method. As its name suggests, it checks whether the `ext/mbstring` extension is available or not. We finally use this method globally, after the class declaration, and throw an exception if the extension is not available.
* Rename `Hoa\String` to `Hoa\Ustring`.Ivan Enderlin2015-05-293
| | | | | | | | | | | | | | | 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
* Move to PSR-1 and PSR-2.Ivan Enderlin2015-05-183
|
* `toCode` supports invalid UTF-8 character.Ivan Enderlin2015-03-251
| | | | | | | | | In case where the `$char` given to `toCode` is not a valid UTF-8 character, a variable was missing. We fix this problem to mimic a valid UTF-8 character. Fix https://github.com/hoaproject/String/issues/26. Thanks @mdarse for the report!
* Merge branch 'getCharWidth' into incomingIvan Enderlin2015-01-071
|\
| * Add more test data for `getCharWidth`.Ivan Enderlin2015-01-071
| |
| * Add the `isCharPrintable` method.Ivan Enderlin2015-01-061
| |
| * Test the String::getCharWidth method.Ivan Enderlin2015-01-061
| |
* | Remove a useless test.Ivan Enderlin2015-01-061
| |
* | Add more tests for Math symbols.Ivan Enderlin2015-01-061
| |
* | Add emoji and other symbols supports to toAscii.Ivan Enderlin2015-01-061
| |
* | Update toAscii to use a transliterator.Ivan Enderlin2015-01-061
|/
* Happy new year!Ivan Enderlin2015-01-052
|
* Review.2.14.12.24Ivan Enderlin2014-12-241
| | | | Thanks @jubianchi!
* Add tests for Hoa\String\Search.Ivan Enderlin2014-12-231
|
* `toBinaryCode` has a better semantics.Ivan Enderlin2014-12-231
|
* Use hexadecimal everywhere.Ivan Enderlin2014-12-231
|
* Tests are green now.Ivan Enderlin2014-12-232
|
* Add tests.Ivan Enderlin2014-12-232