Dhii/callback-abstract

View on GitHub

Showing 49 of 50 total issues

The method _normalizeArray is not named in camelCase.
Open

    abstract protected function _normalizeArray($value);

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

    abstract protected function _createReflectionForCallable($callable);
Severity: Minor
Found in src/InvokeCallableCapableTrait.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 _getCallback is not named in camelCase.
Open

    protected function _getCallback()
    {
        return $this->callback;
    }
Severity: Minor
Found in src/CallbackAwareTrait.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 _getArgsListErrors is not named in camelCase.
Open

    abstract protected function _getArgsListErrors($args, $spec);
Severity: Minor
Found in src/ValidateParamsCapableTrait.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 _setCallback is not named in camelCase.
Open

    protected function _setCallback(callable $callback = null)
    {
        $this->callback = $callback;

        return $this;
Severity: Minor
Found in src/CallbackAwareTrait.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 _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

The method __ is not named in camelCase.
Open

    abstract protected function __($string, $args = array(), $context = null);

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

    abstract protected function _createValidationFailedException(
        $message = null,
        $code = null,
        RootException $previous = null,
        ValidatorInterface $validator = null,
Severity: Minor
Found in src/ValidateParamsCapableTrait.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

Severity
Category
Status
Source
Language