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
|
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 |
Sergey
|
fc00e60ade
|
Incorrect console width/height detecting with using Stty on Mac
Fixes #13309
|
8 years ago |
SilverFire - Dmitry Naumenko
|
0efed3f2b0
|
Fixed wrong background color generation in `BaseConsole::renderColoredString()`
Fixes #13326
|
8 years ago |
Carsten Brandt
|
3050dedded
|
Update BaseConsole.php
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Alexander Makarov
|
2788f83576
|
Fixes #12879: Console progress bar was not working properly in Windows terminals
|
8 years ago |
Alexander Makarov
|
75e43ccc3a
|
Fixes regression introduced by #12576. Closes #12576
|
8 years ago |
Alexander Makarov
|
8a9c8a8953
|
Fixes #11907: Fixed `yii\helpers\Console::getScreenSize()` on Windows was giving out width and height swapped
|
8 years ago |
Nikola Kovacs
|
4d93d68af9
|
Fix incorrect formatting in documentation (#11864) [skip ci]
The asterisks and underscores were interpreted as markdown formatting, which wasn't intended.
Also fix invalid link to FG_COLOR.
|
8 years ago |
Carsten Brandt
|
f900f24ca9
|
Fixed namespace conflict with Markdown helper and Console helper
fixes #11425
|
9 years ago |
Carsten Brandt
|
d82bf74f41
|
fixed removal of empty lines in array in phpdoc controller
|
9 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
youmad
|
77b0d30bf8
|
Divide by zero prevention in console progress bar
close #10541
|
9 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Alexander Makarov
|
b65bfad44d
|
Simplified regular expressions
|
9 years ago |
Alexander Makarov
|
ffa3a59591
|
Compare with empty string instead of comparing length with 0
|
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 |
jeicd
|
0407407b76
|
fix coding style to follow PSR-2
|
9 years ago |
Carsten Brandt
|
e1ea227e6d
|
improved console helper progressbar ETA
update only once per second to avoid flapping
|
9 years ago |
Alexander Mohorev
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
9 years ago |
Alexander Mohorev
|
fa428a130c
|
PSR-2 while statement
|
9 years ago |
Alexander Mohorev
|
0c5e4b7105
|
PSR-2 foreach statement
|
9 years ago |
Carsten Brandt
|
ef662b57be
|
added missing `@since` annotations
|
10 years ago |
EliasZ
|
70abb9b31c
|
add isset check on index which might not be set
close #8158
|
10 years ago |
Carsten Brandt
|
08e0143c16
|
created Console::wrapText() to imrove console help output on small screens
|
10 years ago |
Thiago Talma
|
c997e0d02e
|
Fixes #7094: Console confirmation must be answered correctly. To return `true`: `y` or `yes`. To return `false`: `n` or `not`. Any other input the question will be asked again
|
10 years ago |
Alexander Mohorev
|
899b778994
|
Correct type declarations
|
10 years ago |
Carsten Brandt
|
49961c4896
|
change Console::confirm() output to use stdout
|
10 years ago |
Qiang Xue
|
6a9b3c7774
|
Finished console Gii.
|
10 years ago |
Qiang Xue
|
fadfdf690a
|
Refactored help system. [skip ci]
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Alexander Makarov
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
10 years ago |
Carsten Brandt
|
6578cfbdab
|
updated phpdoc and classmap
|
10 years ago |
Carsten Brandt
|
284ec069ad
|
implemented ANSI strlen helper
issue #746
|
10 years ago |
Carsten Brandt
|
10dc407a3c
|
implemented markdown parsing for console command description
issue #746
|
10 years ago |
Carsten Brandt
|
f46cffb4e4
|
Implement console color ansi2html
issue #746
|
10 years ago |
lynicidn
|
18d1de61fe
|
fix #3478
it correct work with integer keys of list
|
11 years ago |
Jurmarcus Allen
|
6099e85160
|
HHVM compatibility Fixes for Yii 2 Console Application
|
11 years ago |
Thiago Talma
|
c1445871f4
|
Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Alexander Mohorev
|
c7e8d8b900
|
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
|
11 years ago |
Alexander Makarov
|
6ed9848591
|
Removed unused assignment
|
11 years ago |
Alexander Makarov
|
b21fd298c5
|
Fixed minor coding style issues
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Carsten Brandt
|
4d99677f07
|
fixed div/0 issue in console progress bar
|
11 years ago |
Carsten Brandt
|
839650a6bd
|
fixed output in Console::select()
|
11 years ago |