20 Commits (4b14800e3a2ae7a73e133a981c72dad8d49bd7a5)

Author SHA1 Message Date
Pavel Dovlatov bdb7c64910 Update to https protocol for php.net links (#17168) [skip ci] 6 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Thoulah a32cfcc8ef Fixes #16266: Fixed `yii\helpers\BaseStringHelper` where explode would not allow 0 as trim string 6 years ago
SilverFire - Dmitry Naumenko 3d96a45f6b
Fixed BC breaking change in Inflector 6 years ago
Paul Klimov 1b8da6d951
Add `StringHelper::matchWildcard()` (#15389) 7 years ago
Carsten Brandt 36b535c26b Fixes #13254: Made `yii\helpers\StringHelper` and `yii\validators\StringValidator` independent of `Yii::$app` instance 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci] 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
sam002 a350b34c1b Fixes additional case for #13657 which wasn't covered by tests 8 years ago
sam002 c78b9e470d Fixes #13657: Fixed `yii\helpers\StringHelper::truncateHtml()` skip extra tags at the end 8 years ago
Andrew Nester 953c4a8e5a Fixes #13407: Added URL-safe base64 encode/decode methods to `StringHelper` 8 years ago
Nikolay Oleynikov 323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 8 years ago
Elvira Sheina 0545bb6936 Fixed truncateHtml leaving extra tags (#7727) 8 years ago
Alex-Code 37caadfab8 Extra truncate HTML tests 8 years ago
Alexander Makarov cfbe50e96d Fixes #11026: Fixed `StringHelper::truncateWords()` to count words properly for non-English text 9 years ago
Alexander Makarov c17f887583 Added `StringHelper::countWords()` that given a string returns number of words in it 9 years ago
Andrew Nester 6acab778da 10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629 9 years ago
SilverFire - Dima Naumenko c128d008d3 Added more tests for StringHelper::explode 9 years ago
SilverFire - Dima Naumenko ccd20793d4 Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0 9 years ago
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
SilverFire 12fe0c7b85 Fixes #7488: Added `StringHelper::explode` to perform explode with trimming and skipping of empty elements 10 years ago
Carsten Brandt 2a19b3caa0 fixed whitespace in tests 10 years ago
╃巡洋艦㊣ 1468bd4d3d version 2.0.1 84b42ab 10 years ago
Alex-Code b2797b0370 truncate $asHtml tests 10 years ago
armab ef127f6855 Fixes #5316: Added `startsWith()` and `endsWith()` to `yii\helpers\StringHelper`. Methods are binary-safe, multibyte-safe and optionally case-insensitive 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Carsten Brandt 7af92173b1 length arg of byteSubstr is now optional 10 years ago
Alexander Makarov a620342315 Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords 11 years ago
Alex-Code 1c80b9d2cc Test case for new truncate methods. 11 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Alexander Makarov 26767735dc Renamed byte methods, moved path methods back to StringHelper 11 years ago
Alexander Makarov 5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 11 years ago
Qiang Xue 1c24b3e0d8 removed TestCase and WebTestCase. 11 years ago
Carsten Brandt 949dda5fdb tagged tests with @group tags 11 years ago
Alexander Makarov 0596fa82fd code style fixes 11 years ago
Alexander Makarov 7cd9123c3b Tests cleanup 12 years ago
Antonio Ramirez 641e6ee7cf ported inflection methods from StringHelper to Inflector helper class 12 years ago
resurtm 5575f53657 CS fixes. 12 years ago
Carsten Brandt 776162b05e created StringHelper::basename() 12 years ago
Zander Baldwin 4be9e195c2 Add Newlines 12 years ago
Alexander Makarov 9da81894be moved helper test from util namespace to helpers namespace, added tests for StringHelper 12 years ago