Dhii/simple-test-abstract

View on GitHub
src/Test/AbstractTestBase.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setCaseName is not named in camelCase.
Open

    protected function _setCaseName($name)
    {
        $this->caseName = $name;

        return $this;
Severity: Minor
Found in src/Test/AbstractTestBase.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _setKey is not named in camelCase.
Open

    protected function _setKey($key)
    {
        $this->key = $key;

        return $this;
Severity: Minor
Found in src/Test/AbstractTestBase.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _setMethodName is not named in camelCase.
Open

    protected function _setMethodName($name)
    {
        $this->methodName = $name;

        return $this;
Severity: Minor
Found in src/Test/AbstractTestBase.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status