nafigator/Veles

View on GitHub
DataBase/Connections/DbConnection.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

The variable $user_name is not named in camelCase.
Open

    public function setUserName($user_name)
    {
        $this->user_name = $user_name;
        return $this;
    }
Severity: Minor
Found in DataBase/Connections/DbConnection.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

There are no issues that match your filters.

Category
Status