147 Commits

Author SHA1 Message Date
Maksim Spirkov
e229e9fc00 Analyze the yiiunit\framework\console namespace using PHPStan (#20750) 2026-03-02 10:38:08 -03:00
Maksim Spirkov
dbd9f246de Replace $this with static and covariant static in generics (#20733) 2026-02-12 12:20:59 +03:00
Maksim Spirkov
d0fcd4f363 Add default types in @template annotations (#20729) 2026-02-07 18:26:54 +04:00
Wilmer Arambula
f66d5c8864 Fixed error PHPCS lasted version in PHP 8.5. (#20721) 2026-01-27 05:53:03 -03:00
Maksim Spirkov
9a9a8b1e21 Use PHPStan/Psalm types in PHPDoc annotations (#20717) 2026-01-24 16:44:20 +03:00
Maksim Spirkov
a984b9ab39 Fix #20705: Replace $this with self in generics in Psalm annotations 2026-01-14 10:51:18 +03:00
Alexander Makarov
1389aacf03 release version 2.0.54 2026-01-10 01:24:11 +03:00
Maksim Spirkov
7dd3dede14 Add generics for all controllers (#20675) 2025-11-03 12:59:23 +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
ffa0dda204 Fix #20658: Add missing generics in yii\console, yii\captcha, yii\caching and yii\behaviors namespaces 2025-10-30 23:41:32 +03:00
Maksim Spirkov
c82da8dc82 Add visibility for all class elements (#20557) 2025-10-02 01:27:23 +03:00
Maksim Spirkov
53256fdd24 Fix #20513: Fix code examples in PHPDoc 2025-09-06 00:22:56 +03:00
Maksim Spirkov
a6a7f0128a Fix #20514: Add @property annotations for yii\console\Controller 2025-09-06 00:20:19 +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
Максим Спирков
52f28ee2ec Fix #20433: Added PHPStan/Psalm annotations for some controllers methods: beforeAction, afterAction and bindActionParams 2025-07-08 11:33:57 +03:00
Brandon Kelly
5abe83e323 Fix #20247: Support for variadic console controller action methods 2024-08-19 08:30:57 +03:00
Alexander Makarov
f96c2c5ef4 Add accidentally removed phpdoc 2024-07-12 16:29:14 +03:00
Alexander Makarov
52e4a3e645 release version 2.0.50 2024-05-30 20:23:31 +03:00
Razvan Grigore
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
rhertogh
3cebbdad2e Fix #19853: Added support for default value for \yii\helpers\Console::select() 2023-06-09 19:36:21 +03:00
Alexander Makarov
c9f491b4f7 release version 2.0.48.1 2023-05-24 23:04:02 +04:00
Jiepeng Cao
473ead8e46 Optimize: simplified regexp (#19541) 2022-09-06 09:42:58 +03:00
Alexander Makarov
22614a5b1f release version 2.0.46 2022-08-19 01:18:45 +03:00
Bizley
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
Brandon Kelly
4c1cae3d6d Improve reflection param/return types in console\Controller (#19431) 2022-06-17 20:21:44 +03:00
Alexander Makarov
655786b7ed release version 2.0.44 2021-12-30 10:50:56 +03:00
Anton
766cf701e5 Fix #19031: Fix displaying console help for parameters with declared types 2021-12-01 15:11:19 +03:00
Anton
d52c1237ca Update Controller phpdoc (#19052) 2021-11-30 17:12:53 +03:00
Bizley
ae82b58d85 Fix #18909: Fix bug with binding default action parameters for controllers 2021-10-19 01:01:46 +03:00
Anton
4e5c95f8f1 Fix PhpDoc of yii\console\Controller::stderr() (#18885) 2021-09-18 21:32:16 +03:00
Bizley
ea60fba0ae Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of ReflectionUnionType type is passed (#18869) 2021-09-06 20:16:14 +02:00
gazooz
a3b7c65622 Fix #18479: Fix invalid argument type for preg_split in \yii\console\Controller 2021-01-13 17:30:05 +03:00
stevekr
e77fee2482 Fix phpdoc types 2020-11-24 17:45:01 +03:00
Vikas Yadav
9ed1b4c94a Add inheritdoc to generate proper docblock in API docs 2020-11-18 11:25:42 +03:00
Alexander Makarov
ccb14ff667 release version 2.0.39 2020-11-10 13:58:35 +03:00
Alexander Makarov
835971c6f6 Fix Controller phpdoc annotations 2020-11-02 13:13:11 +03:00
Sergei Predvoditelev
306171b582 Add phpdoc for properties "request" and "response" in web and console controllers (#18361) 2020-11-01 17:38:32 +03:00
Alexander Makarov
ed1c087784 Fix #18317: Additional PHP 8 compatibility fixes
Co-authored-by: Bizley <pawel@positive.codes>
2020-10-23 12:42:44 +03:00
Alex
1d7baabab5 Fix #18297: Replace usage of deprecated ReflectionParameter::isArray() method in PHP8 2020-09-22 00:26:37 +03:00
Alexander Makarov
dab7a6c317 Update phpdoc 2020-07-20 02:44:55 +03:00
DarkDef
4fa7d4ee48 Fix #18170: Fix regression in passing extra console command arguments to the action 2020-07-15 15:23:47 +03:00
Alexander Makarov
38f038175f Adjust changelog, correct phpdoc, minor code style fixes 2020-07-07 15:00:16 +03:00
egorrishe
5c3ee63316 Fix #15202: Add optional param --silent-exit-on-exception in yii\console\Controller 2020-06-23 13:34:09 +03:00
Brandon Kelly
fc4f449e21 Fix #18083: Add Controller::$request and $response 2020-06-14 21:19:27 +03:00
Sam
4ea484ca68 Fix #17722: Add action injection support 2020-06-12 10:06:18 +03:00
AHMAD ASJAD
dc54137788 Fix #17852: Documented yii\console\Controller::stdout() additional parameters (#18076) 2020-06-05 00:18:36 +03:00
Alexander Makarov
e7e72e2ff6 Fix #15526: Show valid aliases and options on invalid input in console application 2019-09-18 01:33:43 +03:00
Alexander Kartavenko
2b9374558b Fix #17395: Fixed issues with actions that contain underscores in their names 2019-07-08 13:46:43 +03:00
Alexander Makarov
cd8a9c47d7 Fixed kebab-name console command parameters 2018-02-18 23:32:50 +03:00
Elvira Sheina
af83e59406 Fixes #14355: Added ability to pass an empty array as a parameter in console command 2018-01-10 02:51:41 +04:00