luyadev/luya-module-admin

View on GitHub
src/Module.php

Summary

Maintainability
A
3 hrs
Test Coverage
A
91%

File Module.php has 261 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace luya\admin;

use luya\admin\base\ReloadButton;
Severity: Minor
Found in src/Module.php - About 2 hrs to fix

    Method registerComponents has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function registerComponents()
        {
            return [
                'adminLanguage' => [
                    'class' => AdminLanguage::class,
    Severity: Minor
    Found in src/Module.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status