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
Carsten Brandt
be911e199a
created proper progress bar
...
fixes #1293
11 years ago
Qiang Xue
fb3ebe7000
doc cleanup.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
f716bdd70d
Fixed option merging in Console::prompt()
...
defaults overided settings
11 years ago
Alexander Makarov
b873f9f242
Fixes #915 : helper classes renamed again
11 years ago
Alexander Makarov
76cab3ea64
Renamed base helper classes
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
b96fd24ef5
Finished documentation of Console Helper and Controller
...
fixes #33
11 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
11 years ago
resurtm
7a7d2a9c06
CS fixes.
11 years ago
Carsten Brandt
9d46f8e4fc
added doc comment to Console::getScreensize()
12 years ago
Alexander Makarov
6e5260d915
Implemented Console::getScreenSize for Windows
12 years ago
Alexander Makarov
113751ea45
Fixed detection of ANSI color support on Windows
12 years ago
Carsten Brandt
89ea3fef03
Next iteration on console commands
...
issue #33
- implemted getScreenSize for linux systems
- tiny adjustments and better naming for console color methods
- color switch in base Controller changed to magic property
- colorized Help command
12 years ago