Carsten Brandt
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
9 years ago
Andrew Nester
78de315794
Fixed processing nested objects multisort in BaseArrayHelper
...
fixes #8348
close #10607
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
Carsten Brandt
ef5ce2d4c1
missing `@since` annotations in helpers
9 years ago
Andrew Nester
6acab778da
10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629
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
...
When accessing non-existing properties it is expected behavior to throw an error.
This is the case in all other places.
It is also not reliably possible to determine whether a property exists beforehand.
it is not sufficient to call `property_exists()` as it may be available via `__get()`.
Instead of `property_exists()` or `isset()` it should call `$object->canGetProperty()` but this is not
guaranteed to be implemented and therefor doing such a check will not work in 2.0.x.
calling isset() may break code that works through __get() but has not implemented __isset() properly.
We may discuss this for 2.1 again but I am in favor of keeping it as is.
9 years ago
SilverFire - Dmitry Naumenko
f72e9d5bcf
Revert "#9915: changed behavior of ArrayHelper::getValue() according to @azureru suggestion"
...
This reverts commit 4b511fb9bc
.
9 years ago
Alexander Makarov
4b511fb9bc
#9915 : changed behavior of ArrayHelper::getValue() according to @azureru suggestion
9 years ago
youmad
77b0d30bf8
Divide by zero prevention in console progress bar
...
close #10541
9 years ago
SilverFire - Dmitry Naumenko
dcda2a2466
BaseHtml::checkboxList minor update
9 years ago
cohen
85c6a903dc
Enh #10390 : Added ability to disable outer tag for `\yii\helpers\BaseHtml::radiolist()`, `::checkboxList`
9 years ago
SilverFire - Dmitry Naumenko
8c86310003
BaseInflaector: PHPDoc updated
9 years ago
Klimov Paul
170c376648
`yii\helpers\VarDumper::dump()` now respects PHP magic method `__debugInfo()`
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Angel Guevara
2d05b11f68
remove PHP_EOL
9 years ago
Angel Guevara
ec43f4c370
add separator around the items in `ul()`
9 years ago
Angel Guevara
d0ffb58efb
syntax error
9 years ago
Angel Guevara
7a2bbabbbd
add separator special option to `ul` and `listBox`
9 years ago
Angel Guevara
7618e4ee13
changes suggested by review.
9 years ago
Angel Guevara
5b67bc1822
use ArrayHelper::remove()
9 years ago
LAV45
a2bf2598ce
Release fix from SilverFire
9 years ago
LAV45
1028152aac
Unexpected behavior for \SimpleXMLElement and Json::encode() #10278
9 years ago
Carsten Brandt
e5ed256959
rename ArrayHelper::in() and ArrayHelper::subset()
...
22d9997281 (commitcomment-14527757)
9 years ago
Sam Mousa
22d9997281
Implemented support of traversable objects in `RangeValidator::ranges`, added `ArrayHelper::in()` and `ArrayHelper::subset()`
9 years ago
Mehdi Achour
ac36016c7f
Expanded strcasecmp() condition for clarity
9 years ago
Mehdi Achour
f632f4d41f
Fix docs as per @SilverFire suggestions [ci skip]
9 years ago
Mehdi Achour
cca500083e
Implement #10078 : Allow disabling csrf hidden input generation on a form
9 years ago
SilverFire - Dima Naumenko
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
9 years ago
Carsten Brandt
c3bfa5c77e
fixed Html::activeFileInput() to set correct name for hidden input field
...
fixes #9689
9 years ago
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : `yii\helpers\BaseInflector::transliterate()` is now public
9 years ago
freezy
7bea7b65fd
Fixes #9282 : Improved JSON error handling to support PHP 5.5 error codes
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
SilverFire - Dima Naumenko
ccd20793d4
Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0
9 years ago
Klimov Paul
8cbcbdded7
Default `Cache.SerializerPermissions` configuration option for `HTMLPurifier` is set to `0775`
9 years ago
Alexander Makarov
8d2af0d2d9
Added last resort measure for `FileHelper::removeDirectory()` fail to unlink symlinks under Windows
9 years ago
Alexander Makarov
1b3770fd21
Use === instead of == where possible
9 years ago
Alexander Makarov
4ecafe653c
More compact number operations
9 years ago
Alexander Makarov
b65bfad44d
Simplified regular expressions
9 years ago
Alexander Makarov
ffa3a59591
Compare with empty string instead of comparing length with 0
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
jeicd
0407407b76
fix coding style to follow PSR-2
9 years ago
Carsten Brandt
f007fc1e60
avoid recursion on the root of the file system
...
fixes #9791
9 years ago
Alexander Makarov
59208e5fc6
Fixes #9681 : `Json::encode()` was erroring under CYGWIN
9 years ago
Boudewijn Vahrmeijer
b4da7b570c
Better fix for #9288
9 years ago
Alexander Makarov
6b2748a0b3
Code formatting for #9288
9 years ago
Boudewijn Vahrmeijer
4d21c48bc4
Fixes #9288 : Fixed `FileHelper::createDirectory` directory creation to be concurrency friendly
9 years ago
Klimov Paul
3f2f7111df
`BaseVarDumper::export()` object to string fallback fixed
9 years ago
Klimov Paul
d9eb660df3
`BaseVarDumper::export()` object to string fallback fixed
9 years ago
Klimov Paul
16e1e8fe28
Fallback for objects at `yii\helpers\VarDumper::export()` advanced
9 years ago