Nikolay Oleynikov
|
323568c2e9
|
Remove trailing spaces from sources and tests (#13621) [skip ci]
|
8 years ago |
Nikolay Oleynikov
|
e8f8ba2129
|
Remove excessive `use` statement (#13604)
|
8 years ago |
Nikolay Oleynikov
|
a26d28f8e3
|
Fixes #13576: Added support of `srcset` to `yii\helpers\Html::img()`
|
8 years ago |
Klimov Paul
|
194577c55e
|
Code style fix
|
8 years ago |
Carsten Brandt
|
c4857176ac
|
added test for ArrayHelper::multisort() with closure key
related to #13248
|
8 years ago |
SilverFire - Dmitry Naumenko
|
ed82ba4ee2
|
Revert "fix ArrayHelper::getValue() to throw exception on invalid input"
This reverts commit e963b2af64 because of BC breaking reported in #13248.
To know more about the reasons of commit revertinvg, visit https://github.com/yiisoft/yii2/issues/13248
|
8 years ago |
Carsten Brandt
|
e963b2af64
|
fix ArrayHelper::getValue() to throw exception on invalid input
fixes #12927
|
8 years ago |
SilverFire - Dmitry Naumenko
|
11c58549d4
|
Fixed FileHelperTest::testFindFilesRecursiveWithSymLink()
|
8 years ago |
SilverFire - Dmitry Naumenko
|
9a45b70adf
|
Updated FileHelperTest
|
8 years ago |
Robert Korulczyk
|
8e0af24203
|
Fix protocol-relative URLs in `Url::to()` (#13156) (#13157)
* Fix protocol-relative URLs in `Url::to()`
* Use `isRelative()` in `Url::to()`
|
8 years ago |
Robert Korulczyk
|
2d91723934
|
Add support for creating protocol-relative URLs.
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
|
8 years ago |
SilverFire - Dmitry Naumenko
|
63e650952b
|
Updated tests for HtmlHelper::textarea()
|
8 years ago |
Elvira Sheina
|
0545bb6936
|
Fixed truncateHtml leaving extra tags (#7727)
|
8 years ago |
Alexey Rogachev
|
ea251e24ba
|
Closes #7420: Attributes for prompt generated with `renderSelectOptions` of `\yii\helpers\Html` helper
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
n.vanderburg
|
6b73cfccbb
|
Fixes #12881: Added `removeValue` method to `yii\helpers\BaseArrayHelper` (nilsburg)
|
8 years ago |
Carsten Brandt
|
6346e7180c
|
added test for default route to Url helper
|
8 years ago |
Alex-Code
|
37caadfab8
|
Extra truncate HTML tests
|
8 years ago |
SilverFire - Dmitry Naumenko
|
c66b845f48
|
Revert "Fixed #11973: `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly"
This reverts commit 3fcc26996b .
|
8 years ago |
SilverFire - Dmitry Naumenko
|
7e16a667ee
|
Added unit-test for BaseHtml::errorSummary()
|
8 years ago |
SilverFire - Dmitry Naumenko
|
3fcc26996b
|
Fixed #11973: `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly
|
8 years ago |
Robert Korulczyk
|
993f2aef28
|
Fixes #11275: Added possibility of unset or force replace former value in `ArrayHelper::merge()`
|
8 years ago |
Klimov Paul
|
acfe21b400
|
Fixed `yii\helpers\Json::encode()` encodes empty array returned by `JsonSerializable::jsonSerialize()` as object
|
8 years ago |
Carsten Brandt
|
7076b38ea9
|
added a test for #11925
|
8 years ago |
Carsten Brandt
|
062895111f
|
fixed php 7.1 test breaks that depend on ICU data version
|
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 |
Alexander Makarov
|
16e4cab8f1
|
Fixes #11865: Fixed setting `selected` for dropdown list using options
|
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 |
AnikanovD
|
b39a0a1e5a
|
Fixes #11774: Fixed incorrect recusuive symlinks check in FileHelper
|
8 years ago |
Carsten Brandt
|
b211e6bf69
|
added failing test for #11686
test BaseArrayHelper::isIn() in strict mode
|
8 years ago |
Sam
|
2ebccf0e73
|
Skip filehelper tests (and mark them as incomplete) when runtime is not a local file system. (#11713)
|
8 years ago |
mdmunir
|
7dc9d07bcd
|
Changable default flavor for Markdown helper
close #11438
|
9 years ago |
Vladimir Khramov
|
c6d04644d3
|
passing properties to recursive call if properties of top object are not specified
fixes #7717
close #10960
|
9 years ago |
Alexander Makarov
|
4f4fa6fdf0
|
Fixes #10710: `yii\helpers\FileHelper::copyDirectory()` is now throwing exception when trying to copy a directory to itself or a subdirectory
|
9 years ago |
Mikk Tendermann
|
2f9395bbd6
|
fix #11299
|
9 years ago |
SilverFire - Dmitry Naumenko
|
499ee6de9e
|
Added CH test sentence to InflectorTest
|
9 years ago |
Alexander Makarov
|
cfbe50e96d
|
Fixes #11026: Fixed `StringHelper::truncateWords()` to count words properly for non-English text
|
9 years ago |
Damian Zajkowski
|
3fb85fb84e
|
Fixing VarDumper for throwing PHP Fatal when dumping __PHP_Incomplete_Class. #11196 issue.
|
9 years ago |
Alexander Makarov
|
c17f887583
|
Added `StringHelper::countWords()` that given a string returns number of words in it
|
9 years ago |
SilverFire - Dmitry Naumenko
|
976b9fe357
|
Updated ArrayHelperTest to test exceptions of `ArrayHelper::isIn()` and `::isSubset()`
|
9 years ago |
Ni-san
|
77599dc179
|
fixes #11040: make copyDirectory method work correctly with parameter 'recursive'
|
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.
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
|
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 |
Daniel Gomez Pan
|
295bb3e173
|
WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent
|
9 years ago |
Carsten Brandt
|
0f30b0843b
|
added test for SORT_DESC
for #8348 and #10607
|
9 years ago |
Andrew Nester
|
78de315794
|
Fixed processing nested objects multisort in BaseArrayHelper
fixes #8348
close #10607
|
9 years ago |
Daniel Gomez Pan
|
cd7039e97c
|
WIP #10764
|
9 years ago |