Fix stats columns titles

This commit is contained in:
Simon Vieille 2015-11-20 23:37:30 +01:00
parent c9bb3585af
commit 34679d2978

View file

@ -59,7 +59,7 @@ EOF
$table = new Table($output); $table = new Table($output);
$table $table
->setHeaders(array('With encryption', 'Without encryption', 'Commits', 'Total')) ->setHeaders(array('Without encryption', 'With encryption', 'Commits', 'Total'))
->setRows(array( ->setRows(array(
array( array(
$total - $v = array_sum($withEncryption), $total - $v = array_sum($withEncryption),
@ -79,8 +79,8 @@ EOF
$table->setHeaders(array( $table->setHeaders(array(
'Type', 'Type',
'With encryption',
'Without encryption', 'Without encryption',
'With encryption',
'Commits', 'Commits',
'Total', 'Total',
)); ));
@ -93,8 +93,8 @@ EOF
$rows[] = array( $rows[] = array(
$lang, $lang,
$totalWithEncryption,
$totalWithoutEncyption, $totalWithoutEncyption,
$totalWithEncryption,
$commits[$lang], $commits[$lang],
$total, $total,
); );