Dhii/data-key-value-aware-abstract

View on GitHub
src/ValueAwareTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setValue is not named in camelCase.
Open

    protected function _setValue($value)
    {
        $this->value = $value;
    }
Severity: Minor
Found in src/ValueAwareTrait.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 _getValue is not named in camelCase.
Open

    protected function _getValue()
    {
        return $this->value;
    }
Severity: Minor
Found in src/ValueAwareTrait.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