attogram/attogram

View on GitHub
Attogram/NullDatabase.php

Summary

Maintainability
A
1 hr
Test Coverage

Method tabler has 10 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $table,
        $tableId,
        $nameSingular,
        $namePlural,
        $publicLink,
Severity: Major
Found in Attogram/NullDatabase.php - About 1 hr to fix

    The method tabler has 10 parameters. Consider reducing the number of parameters to less than 10.
    Open

        public function tabler(
            $table,
            $tableId,
            $nameSingular,
            $namePlural,
    Severity: Minor
    Found in Attogram/NullDatabase.php by phpmd

    Expected @param annotation for publicLink to be before the @param annotation for col
    Open

         * @param  array  $col           Column Display Info - array of array('class'=>'..', 'title'=>'..', 'key'=>'..')
    Severity: Info
    Found in Attogram/NullDatabase.php by phan

    Saw an @param annotation for countSql, but it was not found in the param list of function tabler(string $table, string $tableId, string $nameSingular, string $namePlural, string $publicLink, array $col, string $sql, string $adminLink, bool $showEdit, int $perPage) : void
    Open

         * @param  string $countSql     SQL query to get total number of items in table
    Severity: Info
    Found in Attogram/NullDatabase.php by phan

    There are no issues that match your filters.

    Category
    Status