0f004db99b 
					 
					
						
						
							
							Fixed issue when trying to check if a multidimensional array is dirty… ( #19272 )  
						
						... 
						
						
						
						* 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> 
						
						
					 
					
						2022-04-18 13:41:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						94dfccd6fa 
					 
					
						
						
							
							19324 dropdownlist selection for boolean attributes ( #19331 )  
						
						... 
						
						
						
						* 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> 
						
						
					 
					
						2022-04-11 09:44:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a90017294c 
					 
					
						
						
							
							Fix   #19312 : Fix PHP 8.1 error when passing null to yii\helpers\BaseInflector  
						
						
						
						
					 
					
						2022-04-08 17:36:08 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1382aea4a8 
					 
					
						
						
							
							Fix   #19295 : Added alias text/rtf for mime-type application/rtf  
						
						
						
						
					 
					
						2022-04-07 00:14:00 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						14c42b7bb5 
					 
					
						
						
							
							Added jfif to mimeTypes.php ( #19338 )  
						
						... 
						
						
						
						* Added `jfif` to mimeTypes.php
Added the 'image/jpeg' mime type for `.jfif` files (https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format )
* Update MimeTest.php
Added 'jfif' extension to MimeTest 
						
						
					 
					
						2022-04-05 08:28:41 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a87c02c712 
					 
					
						
						
							
							Fix more types ( #19333 )  
						
						... 
						
						
						
						* 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 
						
						
					 
					
						2022-04-03 11:20:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4628b91e73 
					 
					
						
						
							
							Fix types ( #19332 )  
						
						... 
						
						
						
						* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect 
						
						
					 
					
						2022-03-30 18:40:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4cb799bf92 
					 
					
						
						
							
							Fix @param type ( #19286 )  
						
						
						
						
					 
					
						2022-03-05 10:31:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7b8c29d874 
					 
					
						
						
							
							Fix   #19243 : Handle finfo_open for tar.xz as application/octet-stream on PHP 8.1  
						
						
						
						
					 
					
						2022-02-19 23:45:20 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0792736b35 
					 
					
						
						
							
							release version 2.0.45  
						
						
						
						
					 
					
						2022-02-11 16:12:40 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cf1600411c 
					 
					
						
						
							
							Fix   #19204 : Support numbers in Inflector::camel2words  
						
						
						
						
					 
					
						2022-02-03 17:23:47 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f555fce82b 
					 
					
						
						
							
							Fix typo ( #19168 )  
						
						
						
						
					 
					
						2022-01-15 08:43:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1271bc419f 
					 
					
						
						
							
							Fix   #19041 : Fix PHP 8.1 issues  
						
						
						
						
					 
					
						2022-01-14 13:52:01 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						655786b7ed 
					 
					
						
						
							
							release version 2.0.44  
						
						
						
						
					 
					
						2021-12-30 10:50:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6fb16bc30f 
					 
					
						
						
							
							Fix   #19098 : Add yii\helper\BaseHtml::$normalizeClassAttribute to fix duplicate classes  
						
						
						
						
					 
					
						2021-12-27 21:44:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						552593ca3b 
					 
					
						
						
							
							Prepare for new apidoc (part 2) ( #19010 )  
						
						... 
						
						
						
						* 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 
						
						
					 
					
						2021-11-18 10:10:09 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fa6f0ef658 
					 
					
						
						
							
							Fix variable references in phpdoc ( #19006 )  
						
						
						
						
					 
					
						2021-11-10 13:26:55 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						53477e8ad9 
					 
					
						
						
							
							Correct note about html encoded items in radio/checkboxlist ( #19007 )  
						
						
						
						
					 
					
						2021-11-09 21:16:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d27fb96409 
					 
					
						
						
							
							StringHelper::dirname() fixed for trailing slash ( #18965 )  
						
						... 
						
						
						
						* StringHelper::dirname() fixed for trailing slash
* StringHelper::dirname() fix for PHP <7 versions
* Update CHANGELOG.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes> 
						
						
					 
					
						2021-10-24 10:43:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0041f034fd 
					 
					
						
						
							
							[doc] Update PHP doc links ( #18957 )  
						
						... 
						
						
						
						* Replace https://secure.php.net  with https://www.php.net 
* Replace http://www.php.net  with https://www.php.net  
						
						
					 
					
						2021-10-19 14:50:26 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0181a49bb4 
					 
					
						
						
							
							Fix phpdoc in BaseFileHelper ( #18928 )  
						
						
						
						
					 
					
						2021-10-03 16:31:37 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e3028c524d 
					 
					
						
						
							
							Fix   #18899 : Replace usages of strpos with strncmp and remove redundant usage of array_merge and array_values  
						
						
						
						
					 
					
						2021-09-28 11:06:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1d7f9d8d2d 
					 
					
						
						
							
							Fix   #18898 : Fix yii\helpers\Inflector::camel2words() to work with words ending with 0  
						
						
						
						
					 
					
						2021-09-23 17:24:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						59eb9a3395 
					 
					
						
						
							
							Fixed ArrayHelper::toArray for DateTime ( #18880 )  
						
						... 
						
						
						
						* 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> 
						
						
					 
					
						2021-09-14 15:30:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						932806b97d 
					 
					
						
						
							
							Fix   #18812 : Added error messages and optimized "error" methods in yii\helpers\BaseJson  
						
						
						
						
					 
					
						2021-09-06 15:51:13 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0b29ba870e 
					 
					
						
						
							
							Fix   #18762 : Added yii\helpers\Json::$keepObjectType and yii\web\JsonResponseFormatter::$keepObjectType in order to avoid changing zero-indexed objects to array in yii\helpers\Json::encode()  
						
						
						
						
					 
					
						2021-08-24 22:30:33 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						63e93ba243 
					 
					
						
						
							
							Fix   #18832  - Inflector::camel2words() adding extra spaces ( #18833 )  
						
						
						
						
					 
					
						2021-08-14 10:43:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5f8d7df20 
					 
					
						
						
							
							Fix   #18807 : Fix replacing source whitespaces and optimize code of yii\helpers\BaseStringHelper::mb_ucwords()  
						
						
						
						
					 
					
						2021-08-07 17:54:10 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9607d0eb52 
					 
					
						
						
							
							Small fixes in yii\helpers\BaseStringHelper ( #18795 )  
						
						... 
						
						
						
						- Update and format PhpDoc's
- Format code to be more readable
- Replace similar code to `byteSubstr()` 
						
						
					 
					
						2021-07-30 23:29:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9d56179e9d 
					 
					
						
						
							
							Updated asUrl method to not introduce BC break ( #18742 )  
						
						
						
						
					 
					
						2021-07-04 11:03:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						db39f7c955 
					 
					
						
						
							
							Json pretty print ( #18726 )  
						
						... 
						
						
						
						* 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> 
						
						
					 
					
						2021-06-27 14:08:41 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7966fe47e6 
					 
					
						
						
							
							Scrutinizer fixes ( #18685 )  
						
						... 
						
						
						
						* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/filters/AccessRule.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/helpers/BaseFileHelper.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Application.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Module.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/MultipartFormDataParser.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/Session.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Controller.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* Added vardocs, and small refactor
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/conditions/InConditionBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/Connection.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/mssql/QueryBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/log/Logger.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/BaseMigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* Adding space between type
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/CacheController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/FixtureController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0 
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> 
						
						
					 
					
						2021-05-31 21:07:36 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						31ca0fcb6f 
					 
					
						
						
							
							Fix   #18676 : Added method yii\helpers\BaseFileHelper::changeOwnership() and properties newFileMode/newFileOwnership in yii\console\controllers\BaseMigrateController  
						
						... 
						
						
						
						Co-authored-by: Bizley <pawel@positive.codes> 
						
						
					 
					
						2021-05-30 19:26:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4cb2dfef1a 
					 
					
						
						
							
							Add more tests for helpers ( #18675 )  
						
						
						
						
					 
					
						2021-05-25 10:28:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2520e50c52 
					 
					
						
						
							
							Fix   #18653 : Added method yii\helpers\BaseHtml::getInputIdByName()  
						
						
						
						
					 
					
						2021-05-13 22:20:42 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c76e4dd7c7 
					 
					
						
						
							
							Update BaseInflector.php  
						
						
						
						
					 
					
						2021-05-09 00:59:33 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b41f4dc76f 
					 
					
						
						
							
							Remove capitalized versions of rules  
						
						
						
						
					 
					
						2021-05-07 21:32:13 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9ce0d42daf 
					 
					
						
						
							
							Update BaseInflector.php  
						
						
						
						
					 
					
						2021-05-07 01:36:02 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9c8f653554 
					 
					
						
						
							
							Added 'software' and 'hardware' string to BaseInflector $specials.  
						
						
						
						
					 
					
						2021-05-03 14:34:22 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5ad809e815 
					 
					
						
						
							
							Fix   #18593 : Fix setting the maxlength attribute for Html::activeInput() and Html::activeTextArea() based on length parameter of validator  
						
						
						
						
					 
					
						2021-04-09 20:15:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4479c66522 
					 
					
						
						
							
							Fixed phpdoc types  
						
						
						
						
					 
					
						2021-03-12 23:41:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						71791d790d 
					 
					
						
						
							
							Fix   #18505 : Fixed ArrayHelper::get() for ArrayAccess objects with explicitly defined properties  
						
						... 
						
						
						
						Co-authored-by: Bizley <pawel@positive.codes> 
						
						
					 
					
						2021-02-04 15:30:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						59358f4e5b 
					 
					
						
						
							
							Fix   #18501 : Fix type in ArrayHelper::getColumn() phpdoc  
						
						
						
						
					 
					
						2021-02-02 01:10:55 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ea8fe8dcc1 
					 
					
						
						
							
							release version 2.0.40  
						
						
						
						
					 
					
						2020-12-23 18:44:43 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b8f4958092 
					 
					
						
						
							
							Fix   #18442 : Fix calls with array access to strings  
						
						
						
						
					 
					
						2020-12-23 01:08:58 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						02c77da812 
					 
					
						
						
							
							Fix   #18395 : Fix regression in yii\helpers\BaseArrayHelper::filter() (allowing filtering arrays with numeric keys)  
						
						
						
						
					 
					
						2020-12-22 22:35:51 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f450760449 
					 
					
						
						
							
							Fix typo  
						
						
						
						
					 
					
						2020-12-06 12:12:46 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cd36f505b1 
					 
					
						
						
							
							Fix   #16831 : Fix console Table Widget does not render correctly in combination with ANSI formatting  
						
						
						
						
					 
					
						2020-10-23 22:21:03 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e49a52f3a1 
					 
					
						
						
							
							Fix   #18210 : Allow strict comparison for multi-select inputs  
						
						
						
						
					 
					
						2020-08-05 15:12:42 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f3f5312469 
					 
					
						
						
							
							Update BaseHtml and Formatter typehints ( #18185 )  
						
						
						
						
					 
					
						2020-07-19 11:14:45 +03:00