abrain/einsatzverwaltung

View on GitHub
src/UserRightsManager.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method updateRoles has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function updateRoles()
    {
        // Make sure, the administrator role has all the necessary capabilities
        $adminRole = get_role('administrator');
        if (!empty($adminRole)) {
Severity: Minor
Found in src/UserRightsManager.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status