Dhii/callback-abstract

View on GitHub
src/CreateReflectionForCallableCapableTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _createReflectionFunction is not named in camelCase.
Open

    abstract protected function _createReflectionFunction($functionName);

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 _createReflectionForCallable is not named in camelCase.
Open

    protected function _createReflectionForCallable($callable)
    {
        $callable = $this->_normalizeCallable($callable);

        // String or closure means function

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 _createReflectionMethod is not named in camelCase.
Open

    abstract protected function _createReflectionMethod($className, $methodName);

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);

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 _normalizeCallable is not named in camelCase.
Open

    abstract public function _normalizeCallable($callable);

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