budde377/Part

View on GitHub
lib/controller/ajax/type_handler/UserPrivilegesTypeHandlerImpl.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method __construct has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function __construct(BackendSingletonContainer $container, UserPrivileges $privileges)
    {
        $this->container = $container;
        parent::__construct($privileges);

Severity: Minor
Found in lib/controller/ajax/type_handler/UserPrivilegesTypeHandlerImpl.php - About 1 hr to fix

Avoid too many return statements within this method.
Open

            return true;
Severity: Major
Found in lib/controller/ajax/type_handler/UserPrivilegesTypeHandlerImpl.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

                return false;
Severity: Major
Found in lib/controller/ajax/type_handler/UserPrivilegesTypeHandlerImpl.php - About 30 mins to fix

There are no issues that match your filters.

Category
Status