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
IceJOKER
8897ea7270
Fixes #15249 : Controllers in subdirectories were not visible in commands list
7 years ago
Brandon Kelly
0948109a19
Fixes #15221 : Console improvements
7 years ago
Alexander Makarov
a1ddd8b907
Fixes #14129 : Fixed console help to properly work with tricky camelcased controller names
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
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
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.
7 years ago
SilverFire - Dmitry Naumenko
4454d05410
Added ZSH completion, moved scripts to a separate directory
8 years ago
Carsten Brandt
05b17ebb65
Added bash completion file for ./yii commands
...
This allows to auto-complete commands available by the `./yii`
executable on the bash by expanding the first argument with the TAB key.
E.g. Typing `./yii [TAB]` will list all commands. `./yii mig[TAB]` will
auto-complete to `./yii migrate` and tab after that will list all
migration sub-commands(actions).
fixes #475
8 years ago
diezztsk
e30e53843a
Changelog update. Fixed phpDoc comment.
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
diezztsk
99f1d04421
Extract default help header to protected method.
8 years ago
Tobias Munk
02e0ac7034
Fixes #12807 : Added console controller checks for `yii\console\controllers\HelpController`
8 years ago
Daniel Gomez Pan
9088d49990
fix name method
9 years ago
Carsten Brandt
191f2a4943
fixed phpdoc type names
9 years ago
Daniel Gomez Pan
c8a8bfb093
WIP #10840 : add @since [skip ci]
9 years ago
Daniel Gomez Pan
29b76e2e8c
WIP #10840 : add phpdocs [skip ci]
9 years ago
Daniel Gomez Pan
26ff223855
WIP #10840 : add display shorcuts in help command
9 years ago
Alexander Makarov
97bc4e0567
Fixed wrong case in method calls
9 years ago
Carsten Brandt
5db772ef7b
cleanup console namespace changes
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
1b3770fd21
Use === instead of == where possible
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
Carsten Brandt
08e0143c16
created Console::wrapText() to imrove console help output on small screens
10 years ago
callmez
f60da03e07
Fixes #7562 , fixes #6841 : `yii help` now lists all sub-commands by default
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Paul Klimov
e796d1fa27
Plain `echo` replaced by `stdout()` at `yii\console\HelpController`
10 years ago
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
10 years ago
Carsten Brandt
15c54de666
added yii version to the console help output
10 years ago
Carsten Brandt
fc8f6c469c
reverted color change of de87f43d70
10 years ago
Qiang Xue
de87f43d70
Fixes #4292 : The error messages for console commands will not be translated
10 years ago
Qiang Xue
00cfe93b20
Finished console Gii feature.
10 years ago
Qiang Xue
6a9b3c7774
Finished console Gii.
10 years ago
Qiang Xue
bfb9aa84f7
WIP
10 years ago
Alexander Makarov
4832760604
Removed unused "use" statements
10 years ago
Qiang Xue
e3ca5a8168
Reverted/fixed some incorrect changes.
10 years ago
Alexander Makarov
d471f0ba91
Fixes #4288 : added a hint on how to specify console boolean values to the output of help
10 years ago
Qiang Xue
aeb8dd560a
Refactored console help system [skip ci]
10 years ago
Qiang Xue
fadfdf690a
Refactored help system. [skip ci]
10 years ago
Alexander Makarov
da7af42371
Added information about --appconfig to output of help command, color option is now passed to controller whose help we're getting
10 years ago
Alexander Makarov
21440d7aed
Moved common help parsing code into HelpParser. Action methods now have default implementation.
10 years ago
Alexander Makarov
d44f424858
Fixed getting controller description, refactored a bit more
10 years ago
Alexander Makarov
277d8cbaeb
Got rid of console inline action
10 years ago
Alexander Makarov
dbac35b1aa
Removed description and help code duplication
10 years ago
Carsten Brandt
c43b7ee8b5
console help WIP
10 years ago
Alexander Makarov
84af0ad1f7
Fixes #4592 : Fixed `yii help` command was listing incorrect action names for methods like `actionSayNO`
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
10 years ago
Carsten Brandt
10dc407a3c
implemented markdown parsing for console command description
...
issue #746
10 years ago