Dhii/simple-test-abstract

View on GitHub
src/Test/AbstractAccountableResult.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setTimeTaken is not named in camelCase.
Open

    protected function _setTimeTaken($seconds)
    {
        $this->timeTaken = $seconds;

        return $this;

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 _setMemoryTaken is not named in camelCase.
Open

    protected function _setMemoryTaken($bytes)
    {
        $this->memoryTaken = $bytes;

        return $this;

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