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
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
Carsten Brandt
5288577221
make migrationPath accept an array
2017-06-02 13:35:45 +02:00
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
2017-05-30 21:27:43 +03:00
Robert Korulczyk
31e321b9b2
Remove unused imports. ( #14096 )
2017-05-01 20:26:15 +02:00
Klimov Paul
dee88787fc
compatibility with PHPUnit 6.x added
2017-04-13 14:49:43 +03:00
Sam
9459eaa277
Fixes #10372 : Fixed console controller including complex typed arguments in help
2017-03-15 15:47:21 +03:00
Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
2017-03-14 09:45:31 +03:00
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
2017-03-14 09:42:13 +03:00
Carsten Brandt
ff4cde18d4
Merge branch 'master' into feature/docker-testing
2017-03-06 15:50:56 +01:00
Daniel Gómez Pan
73ddf2e65e
Fixes #13670 : Fixed alias option from console when it includes - or _ in option name
2017-02-28 16:39:03 +03:00
SilverFire - Dmitry Naumenko
1dc4618f3d
Fixed MessageConstroller::saveMessagesToDb() to work on different DBMS correctly
...
Closes #13494
2017-02-21 23:37:17 +02:00
SilverFire - Dmitry Naumenko
e9a96ee834
Replced InvalidParamException with \yii\console\Exception in Request::resolve()
2017-02-21 08:24:15 +02:00
SilverFire - Dmitry Naumenko
86b08e29d2
Enhanced yii\console\Request::resolve() to prevent passing parameters, that begin from digits
...
Closes #8641
2017-02-20 23:17:40 +02:00
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
2017-02-19 17:34:22 +03:00
Tobias Munk
9f95f71572
added groups to tests
2017-02-16 16:46:10 +01:00
Tobias Munk
ec8daa0d77
added db group to test
2017-02-16 15:42:24 +01:00
Robert Korulczyk
4c46c6a096
Improve messages test on HHVM. ( #13520 )
2017-02-06 09:54:13 +01:00
Bizley
1749c46c5d
Fixes #11502 : Fixed yii\console\controllers\MessageController to properly populate missing languages in case of extraction with "db" format
2017-02-02 02:50:34 +03:00
Pavel Ivanov
4db3bcd64c
Fixes #13277 : Invalid parsing of -- in CLI
2016-12-31 16:31:07 +02:00
Klimov Paul
6211f9c030
MigrateControllerTestTrait fix for HHVM
2016-12-26 16:02:22 +02:00
Daniel Gómez Pan
b985ea3476
Fix #13108 : Negative integer parameter causes "Unknown alias" error w… ( #13220 )
...
* Fix #13108 : Negative integer parameter causes "Unknown alias" error when you execute command console
* Fix #13108 : Fix small issues
* Update Request.php
change order
2016-12-17 21:30:36 +02:00
Carsten Brandt
7fead4f011
Merge pull request #12959 from yiisoft/bash-completion
...
Added bash completion file for ./yii commands
2016-12-03 01:25:06 +01:00
Carsten Brandt
187c44e43e
implement suggestion for unknown command in console application
...
suggestion is based on two principles:
- first suggest commands the begin with the unknown name, to suggest
commands after accidentally hitting enter
- second find similar commands by computing the levenshtein distance
which is a measurement on how many changes need to be made to convert
one string into another. This is perfect for finding typos.
2016-12-03 01:17:50 +01:00
SilverFire - Dmitry Naumenko
4454d05410
Added ZSH completion, moved scripts to a separate directory
2016-12-03 00:36:40 +01:00
Carsten Brandt
beb140446b
added test for helpcontroller list action
2016-12-03 00:36:40 +01:00
SG5
1141fc81a7
Fixes #12735 : Fixed yii\console\controllers\MigrateController creating multiple primary keys for field bigPrimaryKey:unsigned
2016-12-02 01:03:24 +03:00
Klimov Paul
18b0dab360
Fixed yii\console\controllers\AssetController::adjustCssUrl() breaks URL reference specification (url(#id))
2016-11-29 10:24:39 +02:00
Alexey Rogachev
e705519c5a
Fixes #13071 : Help option for commands was not working in modules
2016-11-27 16:14:08 +03:00
Klimov Paul
1157657cab
Fixed incorrect order of migrations history in case yii\console\controllers\MigrateController::$migrationNamespaces is in use
2016-11-14 14:24:53 +02:00
Alexander Zlakomanov
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
2016-11-08 23:39:44 +03:00
Boudewijn Vahrmeijer
8705219005
Added tests for HelpController ( #12908 )
2016-11-04 15:58:21 +03:00
Klimov Paul
60307c118b
code style fix
2016-09-12 14:43:46 +03:00
Klimov Paul
8c39b1cbfa
code style fix
2016-09-12 14:41:05 +03:00
Paul Klimov
8aa0e85a07
Add migration namespace support ( #12511 )
...
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
SilverFire - Dmitry Naumenko
8ec60e3d9b
Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool
2016-09-11 21:17:43 +03:00