Dhii/data-object-abstract

View on GitHub
src/NormalizeKeyCapableTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _normalizeKey is not named in camelCase.
Open

    protected function _normalizeKey($key)
    {
        if (!is_int($key)) {
            $key = $this->_normalizeString($key);
        }
Severity: Minor
Found in src/NormalizeKeyCapableTrait.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 _normalizeString is not named in camelCase.
Open

    abstract protected function _normalizeString($subject);
Severity: Minor
Found in src/NormalizeKeyCapableTrait.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