53256fdd24 
					 
					
						
						
							
							Fix   #20513 : Fix code examples in PHPDoc  
						
						
						
						
					 
					
						2025-09-06 00:22:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f914cda51e 
					 
					
						
						
							
							Remove invalid @property annotations and fix property descriptions ( #20510 )  
						
						
						
						
					 
					
						2025-09-05 00:33:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cde05962bf 
					 
					
						
						
							
							Fix @var tags syntax in base, behaviors and caching folder ( #20390 )  
						
						
						
						
					 
					
						2025-05-31 09:47:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f66ee97a45 
					 
					
						
						
							
							Fix   #20374 : Add PHPStan/Psalm annotations for BaseYii, BaseObject, Component, Model, Module and yii\base\Controller  
						
						
						
						
					 
					
						2025-05-05 08:24:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						52e4a3e645 
					 
					
						
						
							
							release version 2.0.50  
						
						
						
						
					 
					
						2024-05-30 20:23:31 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2a167028b 
					 
					
						
						
							
							Upgrade to PSR12 coding standard ( #20121 )  
						
						
						
						
					 
					
						2024-03-19 17:21:27 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						161526cd41 
					 
					
						
						
							
							HTTPS everywhere ( #19503 )  
						
						
						
						
					 
					
						2022-08-03 12:32:18 +03: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						655786b7ed 
					 
					
						
						
							
							release version 2.0.44  
						
						
						
						
					 
					
						2021-12-30 10:50:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6067608321 
					 
					
						
						
							
							Fix   #19005 : Add yii\base\Module::setControllerPath()  
						
						
						
						
					 
					
						2021-12-09 10:46:15 +03: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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e2045c040 
					 
					
						
						
							
							release version 2.0.41  
						
						
						
						
					 
					
						2021-03-04 00:51:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5995edb670 
					 
					
						
						
							
							Update public property types of yii\base\Module  
						
						
						
						
					 
					
						2021-01-11 15:20:11 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cffb129605 
					 
					
						
						
							
							Few quick fixes to make IDE happy  
						
						
						
						
					 
					
						2020-12-22 18:44:15 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						771e96d7db 
					 
					
						
						
							
							Fix   #18400 : Set parent module of the newly attached child module by Module::setModule() and Module::setModules()  
						
						
						
						
					 
					
						2020-12-15 17:52:30 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccb14ff667 
					 
					
						
						
							
							release version 2.0.39  
						
						
						
						
					 
					
						2020-11-10 13:58:35 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d3bd1403de 
					 
					
						
						
							
							Fixes docs for createController method ( #17478 ) [skip ci]  
						
						
						
						
					 
					
						2019-07-30 17:42:47 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0de49406db 
					 
					
						
						
							
							Minor code style adjustments, phpdoc  
						
						
						
						
					 
					
						2018-02-18 02:56:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e6f5c46cdc 
					 
					
						
						
							
							Fixes   #15633 : Deprecate some things going away/changing in 2.1  
						
						... 
						
						
						
						- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()` 
						
						
					 
					
						2018-02-11 01:48:29 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a559b9fa76 
					 
					
						
						
							
							Fixes   #14903 : Fixed route with extra dashes is executed controller while it should not  
						
						
						
						
					 
					
						2018-01-09 18:59:07 +04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fb23b0d0ea 
					 
					
						
						
							
							Code style fixes  
						
						
						
						
					 
					
						2017-11-01 02:43:02 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						04281cba8c 
					 
					
						
						
							
							Fixes   #14793 : Module ->get() and ->has() methods now check parent modules and fall back to application if nothing found  
						
						
						
						
					 
					
						2017-09-13 01:32:57 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4081a4b203 
					 
					
						
						
							
							Fixes   #14184 : Module service locator now falls back to its parent module service locator in case component isn't found  
						
						
						
						
					 
					
						2017-08-23 00:38:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1501c659ac 
					 
					
						
						
							
							Add empty lines before return statements. ( #14682 ) [skip ci]  
						
						
						
						
					 
					
						2017-08-21 01:58:49 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba0ab403b5 
					 
					
						
						
							
							Added php-cs-fixer coding standards validation to Travis CI ( #14100 )  
						
						... 
						
						
						
						* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues. 
						
						
					 
					
						2017-06-12 12:25:45 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4b9e48b8dc 
					 
					
						
						
							
							improved docs: link term "path alias" to the guide  
						
						
						
						
					 
					
						2017-06-02 10:45:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6301daecf7 
					 
					
						
						
							
							reverted wrong phpdoc change from  #13905  
						
						
						
						
					 
					
						2017-04-03 14:27:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						950e895fe0 
					 
					
						
						
							
							Fix phpDocumentor annotations ( #13905 ) [skip ci]  
						
						
						
						
					 
					
						2017-04-02 21:49:09 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c19b2f7dc8 
					 
					
						
						
							
							release version 2.0.11  
						
						
						
						
					 
					
						2017-02-01 17:46:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c1c11d06ae 
					 
					
						
						
							
							Revert "Fixed some comment issues ( #13392 ) [skip ci]"  
						
						... 
						
						
						
						This reverts commit 652d05f0b8c4defa4f1bae29679322e3fbad1c0c.
`@property` comments are used to document the property that is
defined by a getter/setter if the method description does not fit. 
						
						
					 
					
						2017-01-16 00:00:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						652d05f0b8 
					 
					
						
						
							
							Fixed some comment issues ( #13392 ) [skip ci]  
						
						
						
						
					 
					
						2017-01-15 21:39:12 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						954c771fdb 
					 
					
						
						
							
							Code cleanup ( #13113 )  
						
						... 
						
						
						
						* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns 
						
						
					 
					
						2016-12-03 00:15:53 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4aa935e69e 
					 
					
						
						
							
							Fixes   #12055 : Changed boolean to bool and integer to int in phpdoc  
						
						
						
						
					 
					
						2016-11-07 02:51:39 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						32f4dc8997 
					 
					
						
						
							
							Fixes   #5385 : links created from classes to corresponding guide articles ( #12920 )  
						
						
						
						
					 
					
						2016-11-04 18:55:14 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8d05bd9479 
					 
					
						
						
							
							yii\base\Application::$version converted to yii\base\Module::$version virtual property, allowing to specify version as a PHP callback 
						
						... 
						
						
						
						`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback 
						
						
					 
					
						2016-10-25 17:10:56 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a452bcc2e 
					 
					
						
						
							
							Fixes   #10587 : Latest used controller instance was not available in Response::EVENT_AFTER_SEND handler  
						
						
						
						
					 
					
						2016-10-19 12:02:55 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbe284c618 
					 
					
						
						
							
							Changed formatting of phpdoc. See  #12409  
						
						
						
						
					 
					
						2016-08-31 15:43:48 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f0c44bca91 
					 
					
						
						
							
							Cosmetic changes 2 ( #12409 ) [skip ci]  
						
						
						
						
					 
					
						2016-08-31 14:53:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba43ef370d 
					 
					
						
						
							
							Cosmetic changes  
						
						
						
						
					 
					
						2016-08-26 16:00:51 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e8d30f0c51 
					 
					
						
						
							
							enable use of yii2 inside of phar packaged console applications  
						
						
						
						
					 
					
						2016-04-04 10:32:50 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cd87d67f34 
					 
					
						
						
							
							Global DOCS update: ~~~ replaced with ```  
						
						
						
						
					 
					
						2015-12-02 23:15:28 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2d68840898 
					 
					
						
						
							
							yii\base\Module::getLayoutPath() fixed code style 
						
						
						
						
					 
					
						2015-11-21 19:33:16 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d08ef83e2a 
					 
					
						
						
							
							Controller->viewPath can be set,  fixes   #10086  
						
						... 
						
						
						
						Added setViewPath() that allows setting the base path for the
controller's views. Changed getViewPath() to return the value that was
explicitly set, before defaulting to the usual module-based path. 
						
						
					 
					
						2015-11-21 19:28:06 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f11bdfa2a7 
					 
					
						
						
							
							Grammar fix: followings -> following  
						
						
						
						
					 
					
						2015-04-21 15:08:16 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c01804d7c9 
					 
					
						
						
							
							Fixes   #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows  
						
						
						
						
					 
					
						2015-03-25 21:54:06 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f5345b63c 
					 
					
						
						
							
							improved beforeAction docs  
						
						
						
						
					 
					
						2015-03-21 12:13:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						70fa53a20f 
					 
					
						
						
							
							Update Controller.php and Module.php  
						
						... 
						
						
						
						beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close  #7804  
						
						
					 
					
						2015-03-21 12:10:25 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						710e70b8fd 
					 
					
						
						
							
							Fixes   #2037 : Dropped the support for using yii\base\Module as concrete module classes  
						
						
						
						
					 
					
						2014-10-02 13:31:31 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						858ceb5039 
					 
					
						
						
							
							Added yii\base\Application::loadedModules  
						
						
						
						
					 
					
						2014-09-30 21:36:29 -04:00