Dhii/data-object-abstract

View on GitHub
src/HasDataCapableTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _hasData is not named in camelCase.
Open

    protected function _hasData($key)
    {
        $store = $this->_getDataStore();

        return $this->_containerHas($store, $key);
Severity: Minor
Found in src/HasDataCapableTrait.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 _getDataStore is not named in camelCase.
Open

    abstract protected function _getDataStore();
Severity: Minor
Found in src/HasDataCapableTrait.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 _containerHas is not named in camelCase.
Open

    abstract protected function _containerHas($container, $key);
Severity: Minor
Found in src/HasDataCapableTrait.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