detain/db_abstraction

View on GitHub
src/Db_Interface.php

Summary

Maintainability
A
45 mins
Test Coverage

Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct($database = '', $user = '', $password = '', $host = 'localhost', $query = '', $port = '');
Severity: Minor
Found in src/Db_Interface.php - About 45 mins to fix

    The class Db_Interface is not named in CamelCase.
    Open

    interface Db_Interface
    {
        /**
         * Db_Interface constructor.
         *
    Severity: Minor
    Found in src/Db_Interface.php by phpmd

    CamelCaseClassName

    Since: 0.2

    It is considered best practice to use the CamelCase notation to name classes.

    Example

    class class_name {
    }

    Source

    There are no issues that match your filters.

    Category
    Status