JoryHogeveen/view-admin-as

View on GitHub
includes/class-hooks.php

Summary

Maintainability
A
0 mins
Test Coverage

Method name "_add" should not be prefixed with an underscore to indicate visibility
Open

    protected function _add( $hooks, $hook, $callback, $priority, $accepted_args ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_find_priority" should not be prefixed with an underscore to indicate visibility
Open

    protected function _find_priority( $hooks, $hook, $callback ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

debug_backtrace() found. Debug code should not normally be used in production.
Invalid

            $log['callstack'] = debug_backtrace();
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_get_hooks" should not be prefixed with an underscore to indicate visibility
Open

    public function _get_hooks( $keys = null, $objects = false ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_remove" should not be prefixed with an underscore to indicate visibility
Open

    protected function _remove( $hooks, $hook, $callback, $priority ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_remove_all" should not be prefixed with an underscore to indicate visibility
Open

    protected function _remove_all( $hooks, $hook, $priority ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_get_filters" should not be prefixed with an underscore to indicate visibility
Open

    public function _get_filters( $keys = null, $objects = false ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_convert_callback" should not be prefixed with an underscore to indicate visibility
Wontfix

    protected function _convert_callback( $array ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_get_identifier" should not be prefixed with an underscore to indicate visibility
Open

    protected function _get_identifier( $hook, $callback, $priority ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_get_actions" should not be prefixed with an underscore to indicate visibility
Open

    public function _get_actions( $keys = null, $objects = false ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_remove_own" should not be prefixed with an underscore to indicate visibility
Open

    protected function _remove_own( $hooks, $hook, $priority, $function, $class ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

Method name "_validate_priority" should not be prefixed with an underscore to indicate visibility
Open

    protected function _validate_priority( $hooks, $hook, $callback, $priority ) {
Severity: Minor
Found in includes/class-hooks.php by phpcodesniffer

There are no issues that match your filters.

Category
Status