9614 Commits

Author SHA1 Message Date
ec66ea318f Fix #20461: Add PHPStan/Psalm annotations for yii\filters\auth\AuthInterface 2025-07-23 13:39:56 +03:00
2cc09dd57d Fix #20459: Fix return type in RequestParserInterface::parse 2025-07-23 13:39:56 +03:00
6a293a94c9 Fix UPGRADE.md (#20458) 2025-07-23 13:39:56 +03:00
97a3fbd500 Fix #20453: Fix PHPStan/Psalm types in yii\web\View 2025-07-23 13:39:56 +03:00
0538af7371 Fix #20442: Add PHPStan/Psalm annotations for yii\base\Controller methods: runAction, run, render, renderPartial and renderFile 2025-07-23 13:39:56 +03:00
0cebd2a5b2 Replace int|string key types with array-key in PHPStan/Psalm annotations (#20443) 2025-07-23 13:39:56 +03:00
00cd4de125 Fix #20465: Remove PHP_VERSION_ID checks from web Session class 2025-07-22 00:23:03 +03:00
65e496124a Fix #20464: Remove PHP_VERSION_ID checks from web Response class 2025-07-22 00:21:32 +03:00
156784ef58 Fix #20455: Remove PHP_VERSION_ID checks from web Request class 2025-07-15 16:58:21 +03:00
cb0bdf69cb Fix #20452: Remove PHP_VERSION_ID checks from web Controller class 2025-07-15 09:35:41 +03:00
5e7390b63b Fix #20451: Remove PHP_VERSION_ID checks from validators UrlValidator class 2025-07-14 19:58:33 +03:00
9ab1396f0b Fix #20450: Remove PHP_VERSION_ID checks from validators EmailValidator class 2025-07-14 16:55:26 +03:00
591484bdd3 Fix #20449: Remove PHP_VERSION_ID checks from helpers BaseJson class 2025-07-14 16:54:44 +03:00
c011e22e31 Fix #20448: Remove PHP_VERSION_ID checks from di Container class 2025-07-14 15:15:47 +03:00
bd9aad0eeb Fix #20444: Remove PHP_VERSION_ID checks from db ColumnSchema class 2025-07-14 11:27:12 +03:00
b2bd5287d8 Fix #20445: Remove PHP_VERSION_ID checks from db Connection class 2025-07-14 11:25:21 +03:00
6b208f95b3 Fix #20446: Remove deprecated method convertExceptionToError() in ErrorHandler class and clean tests 2025-07-14 11:20:05 +03:00
c634b27c49 Merge branch 'master' into sync-to-master-6 2025-07-09 17:45:38 -04: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
f1a4d5beb2 Sync to master branch. 2025-06-28 14:33:11 -04:00
c95d7c81ea Fix #20427: Remove PHP_VERSION_ID and PHP_MAJOR_VERSION checks from console Controller class 2025-06-27 11:52:09 +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
ff43757799 Fix #20422: Remove PHP_VERSION_ID checks from AttributeTypecastBehavior and its tests for enum typecasting 2025-06-20 23:49:02 +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
51f87c561a Remove PHP_VERSION_ID check in pbkdf2 method for hash_pbkdf2 function. (#20421) 2025-06-18 00:02:41 +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
94f44fef72 Remove unused branch-alias from composer.json files. (#20412) 2025-06-13 22:25:40 +03:00
249687daef Merge branch 'master' into synt-to-master-4 2025-06-13 04:54:54 -04:00
858b24ef44 Fix #20408: Remove unsed code in Model in formName() method to enforce explicit definition for anonymous models 2025-06-13 00:38:07 +03:00
a870e8c219 Remove unsed code in ErrorHandler class. (#20403) 2025-06-10 19:43:44 +03:00
066552f368 Enhance PHPStan and Psalm annotations for generic owner property in Behavior class. (#20404) 2025-06-10 15:00:25 +03:00
86691e2e48 Remove used code E_STRICT handling in ErrorException class and update tests to reflect changes. (#20402) 2025-06-10 11:48:05 +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
ed9de17357 Sync to master branch. (#20401) 2025-06-09 12:03:50 -04: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