9576 Commits

Author SHA1 Message Date
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
2e8f686b98 Fix #8298: Loading fixtures does not update table sequence for Postgresql database 2025-04-02 12:22:20 +03:00
X
2db798ce04 Fix ArrayHelper::index function documentation 2025-03-20 18:42:28 +08:00
c447d95ba7 Correct docblock return type for DataReader::read() method (#20338)
The method's docblock incorrectly stated it always returned an array,
while in practice it can also return `false`.

This change updates the `@return` annotation to correctly specify `array|false`.
2025-03-14 14:40:21 +03:00
e38f62e55b Fix #20329: pgsql: Column Schema doesn't recognize PG type cast 2025-02-27 17:33:35 +03:00
dbb82a25a2 Fix #20332: Added support for the '__class' key in \yii\di\Instance:eunsure(['__class' => ...]) 2025-02-27 17:32:44 +03:00
53ce35423e MetaStorm definitions (#20326) 2025-02-21 19:01:31 +03:00
06bd683d21 Add generic types for ActiveRecord and Container (#20325)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2025-02-21 19:00:43 +03:00
1c191eac90 Update MetaStorm plugin config (#20324) 2025-02-18 09:28:18 +03:00
4859c8fcae Fix #20309: Add custom attributes support to style tags 2025-02-14 09:59:48 +03:00
8771c21c29 prepare for next release 2025-02-13 23:02:42 +03:00
40b1ec3799 release version 2.0.52 2025-02-13 23:02:28 +03:00
becf2b23e6 Fix CHANGELOG 2025-02-13 22:40:50 +03:00
d1463078a6 Fix #20313: Allow CompositeAuth auth methods to use their own request and response if defined
Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
2025-01-17 11:12:35 +03:00
a05f60beef Add tag case in controller.meta-storm.xml (#20312) 2025-01-16 17:26:30 +03:00
b0b7832235 Fix #20308: Allow CompositeAuth auth methods to use their own user if defined
Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
2025-01-14 14:07:19 +03:00
fd866da415 Basic setup for MetaStorm (#20307) 2025-01-13 00:44:34 +03:00
f94017ce4c Fix #20306: Add new yii\helpers\ArrayHelper::flatten() method 2025-01-06 17:53:58 +03:00
3fc7e71c67 Fix #20295: Add an ability to have wildcards in yii\log\Target::$maskVars array 2025-01-01 22:43:47 +03:00
a8586fc296 Fix #20300: Clear stat cache in FileCache::setValue() 2024-12-30 19:53:25 +03:00