studioespresso/craft-exporter

View on GitHub
src/services/formats/Csv.php

Summary

Maintainability
A
1 hr
Test Coverage

Method create has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function create(ExportElement $export, array $data, $fileName): string
    {
        $counts = array_map('count', $data);
        $key = array_flip($counts)[max($counts)];
        $largestRow = $data[$key];
Severity: Minor
Found in src/services/formats/Csv.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status