austinheap/wordpress-security-txt

View on GitHub
trunk/includes/class-wordpress-security-txt-loader.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method add has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private function add($hooks, $hook, $component, $callback, $priority, $accepted_args)
Severity: Minor
Found in trunk/includes/class-wordpress-security-txt-loader.php - About 45 mins to fix

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

        public function add_action($hook, $component, $callback, $priority = 10, $accepted_args = 1)
    Severity: Minor
    Found in trunk/includes/class-wordpress-security-txt-loader.php - About 35 mins to fix

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

          public function add_filter($hook, $component, $callback, $priority = 10, $accepted_args = 1)
      Severity: Minor
      Found in trunk/includes/class-wordpress-security-txt-loader.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status