9595 Commits

Author SHA1 Message Date
b4da83ea8a Fix #20480: Add PHPStan/Psalm annotations for ServiceLocator::get 2025-08-16 23:45:59 +03:00
36d67cd6a6 Fix #20475: Fix Formatter class asScientific() method for PHP 8.5 sprintf precision change (6 to 0) 2025-08-12 07:51:01 +03:00
7c96143d16 Fix minor translation issue in Arabic 2025-08-12 07:49:58 +03:00
dae8d63256 Fix #20461: Add PHPStan/Psalm annotations for yii\filters\auth\AuthInterface 2025-07-19 16:52:26 +03:00
f929954eba Fix #20459: Fix return type in RequestParserInterface::parse 2025-07-19 16:51:42 +03:00
ec57b0bd2a Fix UPGRADE.md (#20458) 2025-07-18 10:54:49 +03:00
6ee5d952ae Fix #20453: Fix PHPStan/Psalm types in yii\web\View 2025-07-15 10:54:19 +03:00
58de63993f Fix #20442: Add PHPStan/Psalm annotations for yii\base\Controller methods: runAction, run, render, renderPartial and renderFile 2025-07-11 18:18:27 +03:00
e3a2151efd Replace int|string key types with array-key in PHPStan/Psalm annotations (#20443) 2025-07-11 18:17:54 +03:00
699d7a7912 Fix #20432: Fix PHPStan/Psalm annotations for ActiveQuery::asArray 2025-07-09 18:46:20 +03:00
1b08ec5b7d Fix #20437: Fix PHPStan/Psalm annotations for BaseArrayHelper::merge 2025-07-08 11:36:06 +03:00
0873d0745b Fix #20434: Added PHPStan/Psalm annotations for hasMany and hasOne methods 2025-07-08 11:35:12 +03:00
52f28ee2ec Fix #20433: Added PHPStan/Psalm annotations for some controllers methods: beforeAction, afterAction and bindActionParams 2025-07-08 11:33:57 +03:00
4ab002b59a prepare for next release 2025-06-27 10:43:26 +03:00
8a7f2effa3 release version 2.0.53 2025-06-27 10:42:53 +03:00
56c242a35e Fix #20426: Add PHPStan/Psalm annotation for controller property in Action class 2025-06-27 10:32:21 +03:00
a7aa327b19 Update PHPStan/Psalm annotations for ArrayHelper::merge (#20430)
Co-authored-by: Samuel Rajan D <samuelrajan.david@handbuiltapps.com>
2025-06-27 10:31:26 +03:00
f3eefee572 Fix #20348: ErrorHandler::convertExceptionToError() Passing E_USER_ERROR to trigger_error() is deprecated since PHP 8.4 2025-06-25 15:07:46 +03:00
4c5a6c5035 Fix #20423: strcmp() Passing null to parameter 2 ($string2) of type string is deprecated 2025-06-19 19:24:22 +03:00
409db4a55c Changing the key type in Controller::actions (#20418) 2025-06-15 23:18:47 +03:00
9fa5d4f46a Fix PHPStan/Psalm annotations for Controller::actions (#20414) 2025-06-14 15:28:24 +03:00
67f5566fb0 Add PHPStan/Psalm annotation for owner property in Behavior class. (#20416) 2025-06-14 15:27:24 +03:00
b47f81ea27 PHPStan/Psalm annotations for base class constructors (#20413) 2025-06-13 22:27:33 +03:00
066552f368 Enhance PHPStan and Psalm annotations for generic owner property in Behavior class. (#20404) 2025-06-10 15:00:25 +03:00
e5af746f13 Merge pull request #20352 from chriscpty/controller-array-fix
Fix behavior for controller actions with union types
2025-06-09 19:50:06 +03:00
ed1f98366b Fix #20400: Add PHPStan/Psalm annotations for yii\web\User 2025-06-08 15:09:52 +03:00
652143d53e Fix #20395: Add PHPStan/Psalm annotations for ActiveForm::validate and ArrayHelper::merge 2025-06-08 15:07:38 +03:00
af600c3d0b Update PHPDocs - ActiveForm::validate() (#20395) 2025-06-04 10:27:21 +03:00
3b1e92008d PHPStan/Psalm annotations for Yii::getAlias (#20394) 2025-06-03 19:58:35 +03:00
8b50a4942a Fix @var tags syntax in framework folder (#20392) 2025-06-03 19:57:08 +03:00
cde05962bf Fix @var tags syntax in base, behaviors and caching folder (#20390) 2025-05-31 09:47:14 +03:00
2303d72238 Fix #20385: Fixed the memory leak issue when using Query::exists() with MySQL 2025-05-28 01:18:47 +03:00
15234e8d5e Fix #20387: Fixed the command generated to use router.php file in php built-in server 2025-05-26 17:00:07 +03:00
fee7a56f04 Merge branch 'master' into controller-array-fix 2025-05-19 12:22:15 +02:00
848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00
2b30ec1c9b array union in controllers
- remove needless class_exists call
2025-05-19 11:53:30 +02:00
47fb7fc78d Merge pull request #20378 from xepozz/cache-type 2025-05-06 20:12:51 +03:00
a2259d0c1d Fix #20373: Fixed the type of the first parameter yii\base\Controller::bindInjectedParams() 2025-05-05 08:27:07 +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
87d960b85b Fix #20371: Fix "Typed property must not be accessed before initialization" when calling toArray() on a model with typed properties without default value 2025-05-04 12:42:46 +03:00
ab6fd4c9c4 Added PHPStan/Psalm annotations for AssetBundle, AssetManager and View (#20372) 2025-05-04 12:41:36 +03:00
0b5398707c Adds Maltese translations file and language option ('mt') to messages/config (#20369) 2025-05-01 09:57:25 +03:00
fbc86d8bb9 Adds Irish (Gaelic) translations file and language option ('ga') to messages/config (#20364) 2025-04-29 12:32:42 +03:00
2b6f0be715 Added and fixed Psalm/PHPStan annotations for ActiveRecord and ActiveQuery (#20363) 2025-04-28 22:27:06 +03:00
6dbdeb9091 save (#20361) 2025-04-27 12:12:12 +03:00
f046f242b7 Generic types for DI classes (#20354) 2025-04-24 12:20:41 +03:00
7037fd46ab Fix #20355: Fix SQL syntax for resetting sequence in QueryBuilder for MSSQL 2025-04-19 23:15:28 +03:00
d29998c564 array union in controllers
o cleanup, changelog
2025-04-10 10:39:29 +02:00
a67bfc1274 array union in controllers
! fix yii\web\Controller::bindActionParams behaviour for union types
o some refactoring in the process
2025-04-10 10:34:06 +02:00
03b0b8f299 Fix PHP 8.4 deprecations for setting session.use_trans_sid and session.use_only_cookies 2025-04-04 11:29:08 +03:00