mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -285,7 +285,7 @@ class ExportManager
|
||||
);
|
||||
}
|
||||
|
||||
/* @var $formatter FormatterInterface */
|
||||
/** @var FormatterInterface $formatter */
|
||||
$formatter = $this->getFormatter($this->getFormatterAlias($data));
|
||||
$filtersData = [];
|
||||
$aggregatorsData = [];
|
||||
|
@@ -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