Pink-Crab/WPDB-Table-Builder

View on GitHub
src/Engines/WPDB_DB_Delta/DB_Delta_Translator.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    protected function type_mapper( string $type, ?int $length, ?int $precision ): string {
        $type = strtoupper( $type );
        switch ( $type ) {
            // With length
            case 'CHAR':
Severity: Minor
Found in src/Engines/WPDB_DB_Delta/DB_Delta_Translator.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status