38 Commits (d9d6d5384363aba7d5d919e99e9bc363da1af1dc)

Author SHA1 Message Date
Brandon Kelly e6f5c46cdc Fixes #15633: Deprecate some things going away/changing in 2.1 7 years ago
hhniao d2423cd6ca Fixes #15301: Fixed `ArrayHelper::filter()` to work properly with `0` in values 7 years ago
Gabriel Caruso 2992b9b09d Refactored tests with PHPUnit assert methods (#15260) 7 years ago
Dmitry Naumenko 64d8af61a6 Fixes for PHP 7.2 compatibility (#14959) 7 years ago
Carsten Brandt 431c1b01a7
added test case for merging empty arrays 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Robert Korulczyk b99e955627 Fix CS (#14665) 7 years ago
Carsten Brandt 69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
Alex 59002a9e1e Fixes #6644: Added `yii\helpers\ArrayHelper::setValue()` 7 years ago
Dmitry Dorogin 6e223e6db2 Fixes #14423: Fixed `ArrayHelper::merge` behavior with null values for integer-keyed elements 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Ilya Rogov 21a7a68e45 Add test coverage of yii\helpers\BaseArrayHelper (#14205) 7 years ago
Carsten Brandt d786b78f25 Helper independent (#14050) 8 years ago
Carsten Brandt c4857176ac
added test for ArrayHelper::multisort() with closure key 8 years ago
SilverFire - Dmitry Naumenko ed82ba4ee2
Revert "fix ArrayHelper::getValue() to throw exception on invalid input" 8 years ago
Carsten Brandt e963b2af64
fix ArrayHelper::getValue() to throw exception on invalid input 8 years ago
n.vanderburg 6b73cfccbb Fixes #12881: Added `removeValue` method to `yii\helpers\BaseArrayHelper` (nilsburg) 8 years ago
Robert Korulczyk 993f2aef28 Fixes #11275: Added possibility of unset or force replace former value in `ArrayHelper::merge()` 8 years ago
Viktor Pikaev 30bb9bd7c8 Fixes #11462: Added support of filtering rules to `yii\log\Target::$logVar`, added `\yii\helpers\BaseArrayHelper::filter()` method 8 years ago
AnikanovD b45e5fbaf2 Unit test for #11549 8 years ago
AnikanovD 239d7814eb Fixes #11739: Fixed `ArrayHelper::index()` losing precision for float keys 8 years ago
Carsten Brandt b211e6bf69 added failing test for #11686 8 years ago
Vladimir Khramov c6d04644d3 passing properties to recursive call if properties of top object are not specified 9 years ago
SilverFire - Dmitry Naumenko 976b9fe357 Updated ArrayHelperTest to test exceptions of `ArrayHelper::isIn()` and `::isSubset()` 9 years ago
SilverFire - Dmitry Naumenko b641cb7dea Updated ArrayHelperTest::testIsTraversable() 9 years ago
Sam Mousa 16a6af5fa8 Add helper function for checking if an object is an array-like object. 9 years ago
SilverFire - Dmitry Naumenko d66659e329 ArrayHelperTest - groupBy tests moved to a separate method 9 years ago
Vladimir Khramov ef8b0a2be0 parameter dimensions in ArrayHelper::index 9 years ago
Carsten Brandt 0f30b0843b added test for SORT_DESC 9 years ago
Andrew Nester 78de315794 Fixed processing nested objects multisort in BaseArrayHelper 9 years ago
Andrew Nester ed23b97baf #10574 - Fix for BaseArrayHelper to work with invalid characters in proper way 9 years ago
Carsten Brandt f6dcb290ed reverted c00b97a/#9915, this is expected behavior 9 years ago
Carsten Brandt d1812d2081 fixed arrayhelper test, renamed test methods according to FW change 9 years ago
Sam Mousa 22d9997281 Implemented support of traversable objects in `RangeValidator::ranges`, added `ArrayHelper::in()` and `ArrayHelper::subset()` 9 years ago
Vadim c00b97a12c Fixes #9915: `yii\helpers\ArrayHelper::getValue()` was erroring instead of returning `null` for non-existing object properties 9 years ago
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
Qiang Xue fe19243da1 Fixes #6969: `yii\helpers\ArrayHelper::htmlEncode()` and `htmlDecode()` should not remove non-string data 10 years ago
╃巡洋艦㊣ 1468bd4d3d version 2.0.1 84b42ab 10 years ago
Qiang Xue cf0c8c37dd Fixes #5983: Added `Inflector::sentence()` 10 years ago
pana1990 d86da1d38e add tests for sentence method 10 years ago
Qiang Xue 0e143338d7 Finished refactoring find() . 11 years ago
Qiang Xue b7d6f6141a Added `isAssociative()` and `isIndexed()` to `yii\helpers\ArrayHelper` 11 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Qiang Xue 9e66e08bc7 Fixes #802: Added support for retrieving sub-array element or child object property through `ArrayHelper::getValue()` 11 years ago
Qiang Xue 7a5a29c767 Added ArrayHelper::keyExists(). 11 years ago
Carsten Brandt c10e8af824 fixed array helper test 11 years ago
Qiang Xue 53457a0a3f Simplified ArrayHelper::multisort(). 11 years ago
Qiang Xue 9efe446545 Fixes #1236: removed Sort::ASC and DESC 11 years ago