RebelCode/modular

View on GitHub
src/Module/DependenciesAwareTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setDependencies is not named in camelCase.
Open

    protected function _setDependencies($dependencies)
    {
        $this->dependencies = $this->_normalizeIterable($dependencies);
    }
Severity: Minor
Found in src/Module/DependenciesAwareTrait.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 _normalizeIterable is not named in camelCase.
Open

    abstract protected function _normalizeIterable($iterable);
Severity: Minor
Found in src/Module/DependenciesAwareTrait.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 _getDependencies is not named in camelCase.
Open

    protected function _getDependencies()
    {
        return $this->dependencies;
    }
Severity: Minor
Found in src/Module/DependenciesAwareTrait.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