* Fix BaseArrayHelper::htmlDecode()
Add missed second argument on recursive calling.
* Fix BaseArrayHelper::htmlDecode()
`htmlspecialchars_decode()` flags must be same to `htmlspecialchars()` in `BaseArrayHelper::htmlEncode()`
* Update ArrayHelperTest.php
* Update ArrayHelperTest.php
* Update ArrayHelperTest.php
* Update CHANGELOG.md
* test workflow fix
* Fixed issue when trying to check if a multidimensional array is dirty attribute or not
* fixed issue in logic and added test
* Updated test to only support PHP 7 and above
* Code refactoring
* Updated Test Cases
* Update framework/helpers/BaseArrayHelper.php
Co-authored-by: Bizley <pawel@positive.codes>
* Added to CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Maher Al Ghoul <maher.gh@opensooq.com>
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Maher Al Ghoul <maher@rufoof.com>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Maher Al Ghoul <Maher.AlGhoul@opensooq.com>
* Fix#19324 by allowing for direct comparison
* Invert meaning of strict
* Remove WinterSilence from authors list
* Fix improper implementation of strict checks
* Add test for renderSelectOptions
* Partially revert 'Fix improper implementation of strict checks'
* Add additional tests for strict
* Revert 'Fix improper implementation of strict checks'
* Add failing test for demonstration
* Comment out demonstration test
* Update framework/CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Bizley <pawel@positive.codes>
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods
* Fixed ArrayHelper::toArray() for DateTime object
* Updated README.md for #18880 (Fixed ArrayHelper::toArray() for DateTime object)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Added pretty print support to Json helper
* Updated documentation for `yii\helpers\Json::$prettyPrint`
* Fixed line ending in \yiiunit\framework\helpers\JsonTest::testPrettyPrint for windows
* Added helper-json.md link in docs/guide/README.md
* Capitalized JSON in descriptions
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>