iranianpep/code-jetter

View on GitHub
core/io/DatabaseInput.php

Summary

Maintainability
A
0 mins
Test Coverage

The parameter $PDOType is not named in camelCase.
Open

    public function setPDOType($PDOType)
    {
        $this->PDOType = $PDOType;
    }
Severity: Minor
Found in core/io/DatabaseInput.php by phpmd

CamelCaseParameterName

Since: 0.2

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

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The parameter $PDOBind is not named in camelCase.
Open

    public function setPDOBind($PDOBind)
    {
        $this->PDOBind = $PDOBind;
    }
Severity: Minor
Found in core/io/DatabaseInput.php by phpmd

CamelCaseParameterName

Since: 0.2

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

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The variable $PDOBind is not named in camelCase.
Open

    public function setPDOBind($PDOBind)
    {
        $this->PDOBind = $PDOBind;
    }
Severity: Minor
Found in core/io/DatabaseInput.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

The variable $PDOType is not named in camelCase.
Open

    public function setPDOType($PDOType)
    {
        $this->PDOType = $PDOType;
    }
Severity: Minor
Found in core/io/DatabaseInput.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