deep-web-solutions/wordpress-framework-utilities

View on GitHub
src/includes/Hooks/Handlers/ScopedHooksHandler.php

Summary

Maintainability
A
0 mins
Test Coverage

Method add_filter has 5 arguments (exceeds 4 allowed). Consider refactoring.
Wontfix

    public function add_filter( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 ): void {
Severity: Minor
Found in src/includes/Hooks/Handlers/ScopedHooksHandler.php - About 35 mins to fix

    Method remove_action has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

        public function remove_action( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 ): void {
    Severity: Minor
    Found in src/includes/Hooks/Handlers/ScopedHooksHandler.php - About 35 mins to fix

      Method remove_filter has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Wontfix

          public function remove_filter( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 ): void {
      Severity: Minor
      Found in src/includes/Hooks/Handlers/ScopedHooksHandler.php - About 35 mins to fix

        Method add_action has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Wontfix

            public function add_action( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 ): void {
        Severity: Minor
        Found in src/includes/Hooks/Handlers/ScopedHooksHandler.php - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status