Dhii/simple-test-abstract

View on GitHub
src/Test/AbstractResult.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setStatus is not named in camelCase.
Open

    protected function _setStatus($status)
    {
        $this->status = $status;

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.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 _setSuiteCode is not named in camelCase.
Open

    protected function _setSuiteCode($code)
    {
        $this->suiteCode = $code;

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.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 _setAssertionCount is not named in camelCase.
Open

    protected function _setAssertionCount($assertionCount)
    {
        $this->assertionCount = intval($assertionCount);

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.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 _setMessage is not named in camelCase.
Open

    protected function _setMessage($message)
    {
        $this->message = $message;

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.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 _setRunnerCode is not named in camelCase.
Open

    protected function _setRunnerCode($code)
    {
        $this->runnerCode = $code;

        return $this;
Severity: Minor
Found in src/Test/AbstractResult.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