Commit Graph

122 Commits

Author SHA1 Message Date
Alexander Makarov
e22c9c6d68 Fix incorrect assertion in fixture test (#17904) 2020-03-02 17:38:31 +03:00
Michael Härtl
c41b428088 Fix #17884: Fix 0 values in console Table rendered as empty string 2020-02-21 23:07:25 +03:00
alex-code
b0b1c82ae9 Fix #17648: Handle empty column arrays in console Table widget 2019-11-04 00:43:05 +03:00
Dmitry V. Alekseev
6e2b1782e5 Fix #16855: Ignore console commands that have no actions 2019-09-10 19:00:43 +03:00
Bizley
e50a07c30c Fix #17437: Fixed generating namespaced migrations 2019-07-23 17:28: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 Kartavenko
757bc42645 Fixes #17325: Fixed "Cannot drop view" for MySQL while migrate/fresh 2019-06-30 19:53:50 +03:00
Alexander Kartavenko
0fcd495583 Fixes #16394: Fixed issues in migrate/create when specifying default values with colons and adding multiple columns 2019-06-26 12:44:24 +07:00
Nikolay Poryadin
5b5150ae62 Fixes #17133: Fixed aliases rendering during help generation for a console command 2019-03-09 15:35:19 +03:00
Pavel Ivanov
905cfd9725 Fixes #17098: Fixed message/extract when using message params returned from method calls 2019-02-07 20:44:11 +03:00
Albert Borsos
ec1809bed2 Fix to do not delete used message files with nested category names (#17021) 2019-01-06 16:20:25 -05:00
Pavel Ivanov
36ed136caf Issue #14388: test of dependent ActiveFixtures loading (#17012) 2019-01-04 09:24:38 -05:00
Andrew
c162bd7ae7 Fixes #16910: Fix messages sorting on extract 2018-12-12 22:57:24 +03:00
Dmitry V. Alexeev
b5be47321b Fixes #16469: Allow cache to be specified as interface and to be configured in DI container 2018-12-10 11:41:45 +03:00
Groonya
db1d730695 Fixes #16822: Create config dir recursively in message/config 2018-12-05 01:37:12 +03:00
Groonya
8150cd1ed4 Fixes #16580: Delete unused php message files in MessageController if $removeUnused option is on 2018-12-05 01:35:44 +03:00
Damian Dziaduch
e11e3eb4c5 Allow \yii\console\widgets\Table to render empty table (#16865)
When headers provided but no columns.
Ref #16858
2018-11-06 00:05:49 +03:00
ErickSkrauch
5208ef761e Fixes #16828: yii\console\controllers\MessageController::translator recognized object' methods and functions calls as identical sets of tokens 2018-11-03 11:19:27 +03:00
rhertogh
2ef24d9c65 Fixes #16331: Fixed console table without headers 2018-10-26 13:00:49 +03:00
Elvira Sheina
e55b3e0ba1 Fixes #16278: Fixed drop existing views when console migrate/fresh command runs 2018-06-30 02:19:40 +03:00
André Sousa
3616dc5e74 Fix test output (Prevent output among phpunit tests) (#15717)
* Clear output in MigrateControllerTest::testCreateLongNamedMigration

* Clear output in FragmentCacheTest::testVariations
2018-02-21 09:55:17 +02:00
Klimov Paul
71c541773f PHPDoc fix 2018-01-23 13:17:25 +02:00
Klimov Paul
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02: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
Dmitry Dorogin
73fddb004e Fixes #15407 2017-12-24 15:53:25 +02:00
Paul Klimov
1b8da6d951 Add StringHelper::matchWildcard() (#15389)
`StringHelper::matchWildcard()` added
2017-12-20 16:16:25 +02:00
Alexander Makarov
4270470523 Various test fixes (mostly Windows-specific) (#15336) 2017-12-11 22:59:17 +03:00
IceJOKER
8897ea7270 Fixes #15249: Controllers in subdirectories were not visible in commands list 2017-11-30 22:06:24 +03:00
Brandon Kelly
0948109a19 Fixes #15221: Console improvements 2017-11-26 14:43:05 +08:00
Carsten Brandt
e311001ef5 #14543: Adjusted implementation of migration name length limit 2017-10-27 00:20:37 +03:00
Dmitry Dorogin
614fb52c45 Fixes #14543: Throw exception when trying to create migration longer than 255 symbols 2017-10-23 23:21:44 +03:00
Robert Korulczyk
f5c98f9664 Fixed tests for HHVM (#14941) 2017-10-07 20:13:11 +02:00
Alexander Makarov
f5591bb70e Closes #13792: added test verifying unused messages are not removed 2017-10-06 22:59:04 +01:00
Alexander Makarov
6bde69aa96 Fixes #14016: Fixed empty messages marked as unused in PHP and PO sources when extracted with message command when markUnused is false 2017-10-06 22:24:38 +02:00
Alexander Makarov
a1ddd8b907 Fixes #14129: Fixed console help to properly work with tricky camelcased controller names 2017-09-29 23:02:09 +03:00
Kolyunya
f866edcfba Fix console cache controller
Fixed a bug in a `yii\console\controllers\CacheController` when caches
defined via a closure were not detected.

fixes #13969
close #14586
2017-09-01 09:34:56 +02:00
bscheshirwork
8987957f06 Fixes #14697: Fixed console\widgets\Table rendering when there's no data supplied 2017-08-28 01:27:54 +03:00
Robert Korulczyk
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
Robert Korulczyk
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
Robert Korulczyk
0c0942d6e2 Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. (#14681) [skip ci] 2017-08-21 01:57:23 +03:00
Herbert Maschke
58792cdac5 Fixes #14664: Add migrate/fresh command to truncate database and apply migrations again 2017-08-20 01:00:41 +03:00
Michaël Arnauts
e472b4e29c Fixes #14525: Fixed 2.0.12 regression of loading of global fixtures trough yii fixture/load 2017-07-26 14:35:20 +03:00
Carsten Brandt
0070b97837 allow migrate/mark to mark the history base (#14428)
fixes #7890
2017-07-12 11:48:03 +02:00
Robert Korulczyk
d2781cd232 Added configuration for headers in PHP files generated by message/extract command (#14417) 2017-07-10 20:14:54 +03:00
Robert Korulczyk
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +03:00
Robert Korulczyk
12eb936083 Enable heredoc_to_nowdoc rule in php-cs-fixer (#14419) 2017-07-10 13:18:52 +03:00
Robert Korulczyk
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
Daniel Gómez Pan
b0ad73e361 Fixes #11415: Added yii\console\widgets\Table to draw tables in console apps 2017-06-29 18:19:55 +03:00
Elvira Sheina
cfaec11da5 Fixes #13824: Support extracting concatenated strings in yii message 2017-06-21 01:25:12 +03:00
Robert Korulczyk
8d05e81bd4 Fixes #14307: Fixed PHP warning when yii\console\UnknownCommandException is thrown for empty command 2017-06-18 18:40:15 +03:00