Leuchtfeuer/auth0-for-typo3

View on GitHub
Classes/Controller/BackendController.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method createMenu has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function createMenu(ModuleTemplate $moduleTemplate): void
    {
        $menu = $moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->makeMenu();
        $menu->setIdentifier('auth0');

Severity: Minor
Found in Classes/Controller/BackendController.php - About 1 hr to fix

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

        protected function addButton(string $label, string $actionName, string $controllerName, string $icon, ModuleTemplate $moduleTemplate): void
    Severity: Minor
    Found in Classes/Controller/BackendController.php - About 35 mins to fix

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

              ApplicationRepository $applicationRepository,
              ModuleTemplateFactory $moduleTemplateFactory,
              IconFactory $iconFactory,
              UriBuilder $uriBuilder,
              BackendUriBuilder $backendUriBuilder
      Severity: Minor
      Found in Classes/Controller/BackendController.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status