Merge branch '1.10'
commit
0aaa815268
|
@ -182,7 +182,11 @@ class BaseDependencyCommand extends BaseCommand
|
|||
$renderer = new Table($output);
|
||||
$renderer->setStyle('compact');
|
||||
$rendererStyle = $renderer->getStyle();
|
||||
$rendererStyle->setVerticalBorderChar('');
|
||||
if (method_exists($rendererStyle, 'setVerticalBorderChars')) {
|
||||
$rendererStyle->setVerticalBorderChars('');
|
||||
} else {
|
||||
$rendererStyle->setVerticalBorderChar('');
|
||||
}
|
||||
$rendererStyle->setCellRowContentFormat('%s ');
|
||||
$renderer->setRows($table)->render();
|
||||
}
|
||||
|
|
|
@ -174,7 +174,11 @@ EOT
|
|||
$renderer = new Table($output);
|
||||
$renderer->setStyle('compact');
|
||||
$rendererStyle = $renderer->getStyle();
|
||||
$rendererStyle->setVerticalBorderChar('');
|
||||
if (method_exists($rendererStyle, 'setVerticalBorderChars')) {
|
||||
$rendererStyle->setVerticalBorderChars('');
|
||||
} else {
|
||||
$rendererStyle->setVerticalBorderChar('');
|
||||
}
|
||||
$rendererStyle->setCellRowContentFormat('%s ');
|
||||
$renderer->setRows($table)->render();
|
||||
}
|
||||
|
|
|
@ -77,7 +77,11 @@ EOT
|
|||
$table = new Table($output);
|
||||
$table->setStyle('compact');
|
||||
$tableStyle = $table->getStyle();
|
||||
$tableStyle->setVerticalBorderChar('');
|
||||
if (method_exists($tableStyle, 'setVerticalBorderChars')) {
|
||||
$tableStyle->setVerticalBorderChars('');
|
||||
} else {
|
||||
$tableStyle->setVerticalBorderChar('');
|
||||
}
|
||||
$tableStyle->setCellRowContentFormat('%s ');
|
||||
$table->setHeaders(array('Name', 'Version', 'License'));
|
||||
foreach ($packages as $package) {
|
||||
|
|
|
@ -133,7 +133,11 @@ EOT
|
|||
$renderer = new Table($output);
|
||||
$renderer->setStyle('compact');
|
||||
$rendererStyle = $renderer->getStyle();
|
||||
$rendererStyle->setVerticalBorderChar('');
|
||||
if (method_exists($rendererStyle, 'setVerticalBorderChars')) {
|
||||
$rendererStyle->setVerticalBorderChars('');
|
||||
} else {
|
||||
$rendererStyle->setVerticalBorderChar('');
|
||||
}
|
||||
$rendererStyle->setCellRowContentFormat('%s ');
|
||||
$renderer->setRows($table)->render();
|
||||
|
||||
|
|
Loading…
Reference in New Issue