Dhii/data-object-abstract

View on GitHub
src/GetDataStoreCapableTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _createDataStore is not named in camelCase.
Open

    abstract protected function _createDataStore($data = null);
Severity: Minor
Found in src/GetDataStoreCapableTrait.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

    protected function _getDataStore()
    {
        return $this->dataStore === null
                ? $this->dataStore = $this->_createDataStore()
                : $this->dataStore;
Severity: Minor
Found in src/GetDataStoreCapableTrait.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