detain/db_abstraction

View on GitHub
src/Mdb2/Db.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid classes with short names like Db. Configured minimum length is 3.
Open

class Db extends MysqliDb implements Db_Interface
{
    public $host = 'localhost';
    public $user = 'pdns';
    public $password = '';
Severity: Minor
Found in src/Mdb2/Db.php by phpmd

ShortClassName

Since: 2.9

Detects when classes or interfaces have a very short name.

Example

class Fo {

}

interface Fo {

}

Source https://phpmd.org/rules/naming.html#shortclassname

There are no issues that match your filters.

Category
Status