Dhii/wp-events

View on GitHub
src/WordPress/ClearWpHookCapableTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _normalizeInt is not named in camelCase.
Open

    abstract protected function _normalizeInt($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 _clearWpHooks is not named in camelCase.
Open

    protected function _clearWpHooks($name)
    {
        $name = $this->_normalizeString($name);

        \remove_all_filters($name);

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

    abstract protected function _getWpHookDefaultPriority();

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

There are no issues that match your filters.

Category
Status