mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Enable a couple of risky rules.
This commit is contained in:
@@ -346,7 +346,7 @@ class ExportManager
|
||||
|
||||
foreach ($this->exports as $export) {
|
||||
if (!in_array($export->getType(), $existingTypes)) {
|
||||
array_push($existingTypes, $export->getType());
|
||||
$existingTypes[] = $export->getType();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -675,7 +675,7 @@ class ExportManager
|
||||
|
||||
foreach ($this->retrieveUsedAggregators($data) as $alias => $aggregator) {
|
||||
if (!in_array($aggregator->applyOn(), $usedTypes)) {
|
||||
array_push($usedTypes, $aggregator->applyOn());
|
||||
$usedTypes[] = $aggregator->applyOn();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -718,7 +718,7 @@ class ExportManager
|
||||
$filter = $this->getFilter($alias);
|
||||
|
||||
if (!in_array($filter->applyOn(), $usedTypes)) {
|
||||
array_push($usedTypes, $filter->applyOn());
|
||||
$usedTypes[] = $filter->applyOn();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user