mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -216,9 +216,9 @@ class CSVFormatter implements FormatterInterface
|
||||
$columnKeysNb = count($this->getColumnHeaders());
|
||||
$resultsKeysNb = count($this->export->getQueryKeys($this->exportData));
|
||||
$results = $this->getOrderedResults();
|
||||
/* @var $columnHeaders string[] the column headers associations */
|
||||
/** @var string[] $columnHeaders the column headers associations */
|
||||
$columnHeaders = [];
|
||||
/* @var $data string[] the data of the csv file */
|
||||
/** @var string[] $data the data of the csv file */
|
||||
$contentData = [];
|
||||
$content = [];
|
||||
|
||||
@@ -253,7 +253,7 @@ class CSVFormatter implements FormatterInterface
|
||||
}
|
||||
|
||||
// add the column headers
|
||||
/* @var $columns string[] the column for this row */
|
||||
/** @var string[] $columns the column for this row */
|
||||
$columns = array_slice($row, $rowKeysNb, $columnKeysNb);
|
||||
$columnPosition = $this->findColumnPosition($columnHeaders, $columns);
|
||||
|
||||
|
Reference in New Issue
Block a user