cuileon
|
489dd119a5
|
merge from yiisoft/yii2
|
6 years ago |
Damian Dziaduch
|
e11e3eb4c5
|
Allow `\yii\console\widgets\Table` to render empty table (#16865)
When headers provided but no columns.
Ref #16858
|
6 years ago |
ErickSkrauch
|
5208ef761e
|
Fixes #16828: `yii\console\controllers\MessageController::translator` recognized object' methods and functions calls as identical sets of tokens
|
6 years ago |
rhertogh
|
2ef24d9c65
|
Fixes #16331: Fixed console table without headers
|
6 years ago |
Elvira Sheina
|
e55b3e0ba1
|
Fixes #16278: Fixed drop existing views when console `migrate/fresh` command runs
|
6 years ago |
Alexander Makarov
|
e4b559d720
|
Fixes #16217: Fixed `yii\console\controllers\HelpController` to work well in Windows environment
|
6 years ago |
Vladimir Reznichenko
|
1a74b3d4f8
|
[minor] SCA with Php Inspections (EA Ultimate) (#15871)
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
|
7 years ago |
Vladimir Reznichenko
|
f9b03dfd42
|
SCA with Php Inspections (EA Ultimate)
|
7 years ago |
Viktor Khokhryakov
|
2c68336754
|
Fix #15724: MigrateController::optionAliases() have 2 same keys
|
7 years ago |
SilverFire - Dmitry Naumenko
|
22832b7c49
|
release version 2.0.14
|
7 years ago |
Alexander Makarov
|
cd8a9c47d7
|
Fixed kebab-name console command parameters
|
7 years ago |
Klimov Paul
|
65f6b59b35
|
`@inheritdoc` notation changed
|
7 years ago |
Elvira Sheina
|
b953a184e3
|
Fixes #13919: Added option to add comment for created table to migration console command
|
7 years ago |
Elvira Sheina
|
af83e59406
|
Fixes #14355: Added ability to pass an empty array as a parameter in console command
|
7 years ago |
Vladimir Khramtsov
|
b44bbd6a13
|
Fix code issues (#15435)
* Fix some scrunitizer warnings
* Remove obsolete require
* Fix codestyle
|
7 years ago |
Dmitry Dorogin
|
73fddb004e
|
Fixes #15407
|
7 years ago |
Vladimir Reznichenko
|
185209957e
|
Fixes #15270: Resolved potential race conditions when writing generated php-files
|
7 years ago |
IceJOKER
|
8897ea7270
|
Fixes #15249: Controllers in subdirectories were not visible in commands list
|
7 years ago |
Vladimir Kuprienko
|
898e43d6eb
|
Improves readability of `yii\console\widgets\Table` widget (#15236)
* Fixes code style
* Moves magic numbers to constants
|
7 years ago |
webleaf
|
aab86eb7e7
|
Fixes #15229: Fixed `yii\console\widgets\Table` default value for `getScreenWidth()`, when `Console::getScreenSize()` can't determine screen size
|
7 years ago |
Brandon Kelly
|
0948109a19
|
Fixes #15221: Console improvements
|
7 years ago |
Alexander Makarov
|
2d672b6722
|
release version 2.0.13
|
7 years ago |
Alexander Makarov
|
1c23e6dea8
|
Fixed Table phpdoc example [skip ci]
|
7 years ago |
Carsten Brandt
|
e311001ef5
|
#14543: Adjusted implementation of migration name length limit
|
7 years ago |
Dmitry Dorogin
|
614fb52c45
|
Fixes #14543: Throw exception when trying to create migration longer than 255 symbols
|
7 years ago |
Hisateru Tanaka
|
43ea93315f
|
Fixes #14929: Additional semicolon should avoid an affection of trailing line comment when asset/compress
|
7 years ago |
Hisateru Tanaka
|
6e8cc4c151
|
Fixes #14929: Ensure trailing `;` on combining files with `asset` command to fix compiler failures
|
7 years ago |
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`
|
7 years ago |
Alexander Makarov
|
a1ddd8b907
|
Fixes #14129: Fixed console help to properly work with tricky camelcased controller names
|
7 years ago |
Vitaly
|
ab8c54f12a
|
Fixes #14864: Ability to use dependencies in constructor of migrations
|
7 years ago |
Carsten Brandt
|
97923ac783
|
ensure backwards compatibiliy with migration without $compact
See https://github.com/yiisoft/yii2/pull/14474#discussion_r135237472
|
7 years ago |
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
|
7 years ago |
bscheshirwork
|
8987957f06
|
Fixes #14697: Fixed `console\widgets\Table` rendering when there's no data supplied
|
7 years ago |
Francis Lavoie
|
9588c8f5a4
|
Fixes #13853: Added `yii\db\Migration::$compact` as well as `yii\console\controllers\BaseMigrateController::$compact` to allow making the migration console output more compact
|
7 years ago |
Klimov Paul
|
264831cf21
|
`BaseMigrateController::refreshDatabase()` renamed to `truncateDatabase()`
|
7 years ago |
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".
|
7 years ago |
Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Robert Korulczyk
|
4d5aa9a6cf
|
Fix self-ignored .gitignore files.
|
7 years ago |
Herbert Maschke
|
58792cdac5
|
Fixes #14664: Add migrate/fresh command to truncate database and apply migrations again
|
7 years ago |
Michaël Arnauts
|
e472b4e29c
|
Fixes #14525: Fixed 2.0.12 regression of loading of global fixtures trough `yii fixture/load`
|
7 years ago |
Alexander Makarov
|
915c78facd
|
Fixed ExitCode::getReason()
|
7 years ago |
Alexander Makarov
|
1f26db9fb7
|
Applied code style fixes
|
7 years ago |
Carsten Brandt
|
2f9f15bf92
|
Fixes #14188: Add constants and function for sysexits(3) to `ConsoleHelper`
|
7 years ago |
Carsten Brandt
|
0070b97837
|
allow migrate/mark to mark the history base (#14428)
fixes #7890
|
7 years ago |
Robert Korulczyk
|
d2781cd232
|
Added configuration for headers in PHP files generated by `message/extract` command (#14417)
|
7 years ago |
Robert Korulczyk
|
a50d9d8e3e
|
Enable `include` rule in php-cs-fixer (#14418)
|
7 years ago |
Robert Korulczyk
|
fe8a0a6a2e
|
Enable `no_useless_else` rule in php-cs-fixer (#14420)
|
7 years ago |
Daniel Gómez Pan
|
b0ad73e361
|
Fixes #11415: Added `yii\console\widgets\Table` to draw tables in console apps
|
7 years ago |
Elvira Sheina
|
cfaec11da5
|
Fixes #13824: Support extracting concatenated strings in `yii message`
|
7 years ago |
Robert Korulczyk
|
8d05e81bd4
|
Fixes #14307: Fixed PHP warning when `yii\console\UnknownCommandException` is thrown for empty command
|
7 years ago |