wsssoftware/cakephp-datatables

View on GitHub
src/Table/Columns.php

Summary

Maintainability
A
1 hr
Test Coverage

Method normalizeDataTableField has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function normalizeDataTableField(string $dataBaseField): array {
        $ormTable = $this->getConfigBundle()->getDataTables()->getOrmTable();
        $explodedDataBaseField = explode('.', $dataBaseField);
        if (count($explodedDataBaseField) === 2) {
            $table = Inflector::camelize($explodedDataBaseField[0]);
Severity: Minor
Found in src/Table/Columns.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status