Commit Graph

1067 Commits

Author SHA1 Message Date
Maksim Spirkov
7dd3dede14 Add generics for all controllers (#20675) 2025-11-03 12:59:23 +03:00
Maksim Spirkov
1fdcebaeec Fix #20671: Fix PHPDoc annotations in yii\base, yii\console, yii\web and yii\widgets namespaces 2025-11-02 11:35:27 +03:00
Maksim Spirkov
c569e9136b Fix #20666: Add missing generics in yii\base, yii\console, yii\filters and yii\web namespaces 2025-10-31 22:43:14 +03:00
Maksim Spirkov
fa9a2b6e6d Fix #20639: Add missing generics in yii\web namespace 2025-10-27 10:53:46 +03:00
Maksim Spirkov
5681a98bbb Fix #20630: Fix @var annotations for yii\web\CompositeUrlRule::$rules and yii\web\GroupUrlRule::$rules 2025-10-20 15:02:49 +03:00
Maksim Spirkov
63fc248912 Fix #20618: Fix @var annotation for yii\web\Response::$acceptMimeType 2025-10-15 19:57:49 +03:00
Maksim Spirkov
287d0fa074 Fix PHPStan errors (#20603) 2025-10-14 12:38:07 +03:00
Maksim Spirkov
dcb88b8561 Fix #20585: Fix @return annotation for CompositeUrlRule::createRules() 2025-10-13 10:10:03 +03:00
Maksim Spirkov
74290a353a Fix return value in Request::getServerPort (#20583) 2025-10-07 23:52:21 +03:00
Maksim Spirkov
716024c91e Remove array shapes from @return annotations (#20580) 2025-10-07 08:10:36 +03:00
Maksim Spirkov
049d52d699 Fix #20579: Add PHPStan/Psalm annotations for HeaderCollection::get 2025-10-07 08:08:48 +03:00
Maksim Spirkov
4b23c4b5bd Fix #20569: Fix @param annotation for $default in HeaderCollection::get 2025-10-06 13:35:37 +03:00
Maksim Spirkov
dc6f9bcb31 Fix PHPStan errors (#20577) 2025-10-06 13:34:14 +03:00
Maksim Spirkov
b50e41af14 Update PHPStan level from 1 to 2 (#20568) 2025-10-02 10:28:22 +03:00
Maksim Spirkov
1082caac5a Fix #20570: Fix @var annotation for UrlManager::$cache 2025-10-02 10:26:35 +03:00
Maksim Spirkov
1b2796ffb5 Fix #20571: Fix @var annotation for yii\web\Response::$stream 2025-10-02 10:25:45 +03:00
Maksim Spirkov
c82da8dc82 Add visibility for all class elements (#20557) 2025-10-02 01:27:23 +03:00
Maksim Spirkov
de3bd9e592 Fix PHPStan errors (#20526) 2025-09-16 23:02:36 +03:00
Maksim Spirkov
7143fdfe3e Fix #20530: Fix notice "Object of class DateTimeImmutable could not be converted to int" in CookieCollection::has 2025-09-16 21:28:41 +03:00
Maksim Spirkov
53bdfc3b2c Fix PHPStan errors (#20523) 2025-09-15 23:38:06 +03:00
Maksim Spirkov
04202f04f5 Fix #19506: Fix @property annotations in yii\console\widgets\Table, yii\di\Container and yii\web\Session 2025-09-15 20:59:22 +03:00
Maksim Spirkov
4774464159 Fix #20525: Add @template annotations for all actions 2025-09-15 20:38:24 +03:00
Maksim Spirkov
61f1bd7af9 Fix @var annotations (#20517) 2025-09-08 13:07:30 +03:00
Maksim Spirkov
53256fdd24 Fix #20513: Fix code examples in PHPDoc 2025-09-06 00:22:56 +03:00
Maksim Spirkov
f914cda51e Remove invalid @property annotations and fix property descriptions (#20510) 2025-09-05 00:33:39 +03:00
Maksim Spirkov
06858c1089 Fix #20508: Fix PHPDoc, add PHPStan/Psalm annotations for yii\web\CookieCollection::getIterator. Add missing @property annotation in yii\base\Model 2025-09-02 08:10:56 +03:00
Maksim Spirkov
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
Christina Reichel
5aabdd3a21 Fix #20447: Fix behavior for yii\web\Controller::bindActionParams around mixed type 2025-08-18 18:06:37 +03:00
Максим Спирков
f929954eba Fix #20459: Fix return type in RequestParserInterface::parse 2025-07-19 16:51:42 +03:00
Максим Спирков
6ee5d952ae Fix #20453: Fix PHPStan/Psalm types in yii\web\View 2025-07-15 10:54:19 +03:00
Максим Спирков
e3a2151efd Replace int|string key types with array-key in PHPStan/Psalm annotations (#20443) 2025-07-11 18:17:54 +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
Alexander Makarov
8a7f2effa3 release version 2.0.53 2025-06-27 10:42:53 +03:00
Wilmer Arambula
4c5a6c5035 Fix #20423: strcmp() Passing null to parameter 2 ($string2) of type string is deprecated 2025-06-19 19:24:22 +03:00
Stefano D. Mtangoo
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
Samuel Rajan D
ed1f98366b Fix #20400: Add PHPStan/Psalm annotations for yii\web\User 2025-06-08 15:09:52 +03:00
Максим Спирков
8b50a4942a Fix @var tags syntax in framework folder (#20392) 2025-06-03 19:57:08 +03:00
Christina Reichel
fee7a56f04 Merge branch 'master' into controller-array-fix 2025-05-19 12:22:15 +02:00
Chris Reichel
848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00
Chris Reichel
2b30ec1c9b array union in controllers
- remove needless class_exists call
2025-05-19 11:53:30 +02:00
Максим Спирков
ab6fd4c9c4 Added PHPStan/Psalm annotations for AssetBundle, AssetManager and View (#20372) 2025-05-04 12:41:36 +03:00
Chris Reichel
d29998c564 array union in controllers
o cleanup, changelog
2025-04-10 10:39:29 +02:00
Chris Reichel
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
Alex Negrila
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
Dmitriy Derepko
1c191eac90 Update MetaStorm plugin config (#20324) 2025-02-18 09:28:18 +03:00
nzwz
4859c8fcae Fix #20309: Add custom attributes support to style tags 2025-02-14 09:59:48 +03:00
Alexander Makarov
40b1ec3799 release version 2.0.52 2025-02-13 23:02:28 +03:00
Dmitriy Derepko
fd866da415 Basic setup for MetaStorm (#20307) 2025-01-13 00:44:34 +03:00
Carsten Brandt
dc05f31100 Fix #20292: Fix \yii\web\Session should not set cookie params, when useCookie is false 2024-12-07 10:19:25 +03:00
Viktor Khokhryakov
65e3369e16 Fix #20140: Fix compatibility with PHP 8.4: calling session_set_save_handler() 2024-12-06 13:34:47 +03:00