99 Commits

Author SHA1 Message Date
cd8a9c47d7 Fixed kebab-name console command parameters 2018-02-18 23:32:50 +03:00
af83e59406 Fixes #14355: Added ability to pass an empty array as a parameter in console command 2018-01-10 02:51:41 +04:00
0948109a19 Fixes #15221: Console improvements 2017-11-26 14:43:05 +08:00
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
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
2f9f15bf92 Fixes #14188: Add constants and function for sysexits(3) to ConsoleHelper 2017-07-15 23:26:15 +03:00
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
Sam
9459eaa277 Fixes #10372: Fixed console controller including complex typed arguments in help 2017-03-15 15:47:21 +03:00
59801958fe example corrected (#13555) 2017-02-10 23:33:15 +01:00
7c98000391 Update Controller.php 2017-01-07 21:15:30 +01:00
e705519c5a Fixes #13071: Help option for commands was not working in modules 2016-11-27 16:14:08 +03:00
1a70f60332 Merge master into doc-fixes
Conflicts:
	framework/web/AssetManager.php
2016-11-13 15:35:18 +01:00
7a3a342127 Fix errors reported by apidoc extension. (#12986) 2016-11-13 14:51:21 +01:00
cf0952406d Cosmetic changes in console controller. 2016-11-12 21:35:19 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
11fe407ad0 release version 2.0.10 2016-10-20 14:02:50 +02:00
e3a240af27 Added example from prompt method. (#12579)
* Added example from prompt method.

* Fixed wrong error message
2016-09-27 12:19:46 +02:00
cffb3832d1 Fixes #12028: Add -h|--help option to console command to display help information 2016-08-05 00:52:45 +03:00
83496853c8 Fixes #11461: Fixed migration tool error when create migrate with comma in defaultValue 2016-07-28 01:15:55 +03:00
857eee2451 Merge pull request #10870 from pana1990/10840-add-shorcuts-console
WIP #10840
2016-03-04 13:53:28 +02:00
4a5a80b1ce WIP #10870: improvement docs [skip ci] 2016-03-04 00:11:13 +01:00
1ce21cd927 WIP #10840: rename key 'alias' to '_aliases' 2016-02-27 23:26:34 +01:00
921b102961 Fixed #10969: generator migration tool not works with decimal params in column 2016-02-26 03:34:03 +01:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
c8a8bfb093 WIP #10840: add @since [skip ci] 2016-02-19 22:47:36 +01:00
ea14db4eca WIP #10840: rename 'key_exists' to 'array_key_exists' 2016-02-19 22:33:06 +01:00
ab18f77fcc WIP #10840: fixes phpdocs [skip ci] 2016-02-18 00:24:45 +01:00
29b76e2e8c WIP #10840: add phpdocs [skip ci] 2016-02-17 18:05:19 +01:00
f6c2a4382d WIP #10840: fix naming var 2016-02-16 23:23:19 +01:00
edfdb54430 WIP #10840: rename shortCuts() to optionAliases() 2016-02-16 22:35:40 +01:00
a0a44c382a WIP #10840 2016-02-16 15:47:28 +01:00
9b5f6cb188 prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
42b8569846 Revert DI injection via controller action method signature
reverts b7020065c and related commits.
reverts implementation of #9476

For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
2016-02-06 18:40:50 +01:00
18fc8db32f Fixes #10372: Fixed console controller including DI arguments in help 2015-12-22 13:11:00 +03:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
f6b2c8f5be Fix #10217 for the case when there is hidden input combined with listview 2015-11-30 17:13:34 +03:00
08256b05ec Adjustments for #8329 2015-11-25 06:27:01 +03:00
ccfd9cb536 Fixes #8329: Added support of options for message console command 2015-11-25 06:12:52 +03:00
b65bfad44d Simplified regular expressions 2015-10-10 00:40:25 +03:00
d2baecbda5 fix #9823 2015-10-04 08:10:42 +07:00
3accf52ddb fix #9823 2015-10-03 23:00:46 +07:00
b7020065c8 Fixes #9476: Added DI injection via controller action method signature 2015-09-27 19:35:43 +03:00
47bcd020ff fixed bug in console controller
pass correct action name to options when $id is empty (default action)
2015-05-27 12:47:09 +02:00
86891f9f82 Fixes #7358: Fix trimming PHPDoc prefix with TAB indent in yii\console\Controller::parseDocCommentSummary() 2015-02-19 22:26:30 +03:00
119c302033 fixed issue with UTF-8 characters in help description parsing
fixes #6691
2014-12-30 17:33:53 +01:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
aeb8dd560a Refactored console help system [skip ci] 2014-09-04 21:14:09 -04:00
fadfdf690a Refactored help system. [skip ci] 2014-09-04 19:47:52 -04:00
fbdf2ef461 Renamed HelpParser::getFull() to HelpParser::getDetail() 2014-09-04 20:20:15 +04:00
9c9ce298c7 Merge pull request #4913 from yiisoft/console-help-refactoring
Console help refactoring
2014-09-04 20:09:07 +04:00