Dhii/callback-abstract

View on GitHub
src/ArgsAwareTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setArgs is not named in camelCase.
Open

    protected function _setArgs($args)
    {
        $args = $this->_normalizeIterable($args);

        $this->args = $args;
Severity: Minor
Found in src/ArgsAwareTrait.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/ArgsAwareTrait.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 _getArgs is not named in camelCase.
Open

    protected function _getArgs()
    {
        return !is_null($this->args)
            ? $this->args
            : array();
Severity: Minor
Found in src/ArgsAwareTrait.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