9554 Commits

Author SHA1 Message Date
005d9f21fb Fix #20479: Fix issue with MSSQL related to char and nchar 2025-08-26 22:05:11 +03:00
1ce35f98b0 Fix #20495: Fix behavior when resetting sequence in QueryBuilder for MSSQL 2025-08-26 22:04:27 +03:00
3ac659dce4 Fix #20489: Replace deprecated strftime with date in YiiRequirementChecker 2025-08-26 22:03:23 +03:00
731aae2a7e Fix #20494: Fix PHPdoc, add PHPStan/Psalm annotations for authMethods property in CompositeAuth class 2025-08-26 22:02:29 +03:00
28b6ca7002 Fix #20485: Fix error Cannot unset string offsets in yii\di\Instance:ensure(['__class' => ...], 'some\class\name'), Integrate PHPStan for static analysis 2025-08-26 22:01:33 +03:00
22889d314a Fix #20492: Fix deprecation of finfo_close() in PHP 8.5 by conditionally closing the resource 2025-08-20 21:45:49 +03:00
f5a071b1f8 Fix #20482: Fix deprecation of ReflectionMethod::setAccessible() in PHP 8.5 2025-08-20 15:31:47 +03:00
5aabdd3a21 Fix #20447: Fix behavior for yii\web\Controller::bindActionParams around mixed type 2025-08-18 18:06:37 +03:00
5468bca7bc Fix #20483: Fix CompositeAuth making bad assumptions on AuthInterface implementations 2025-08-17 13:16:15 +03:00
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