abrain/einsatzverwaltung

View on GitHub
src/Settings/Pages/ReportList.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Method registerSettings has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function registerSettings()
    {
        register_setting(
            'einsatzvw_settings_list',
            'einsatzvw_list_columns',
Severity: Minor
Found in src/Settings/Pages/ReportList.php - About 1 hr to fix

    Method echoFieldColumns has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function echoFieldColumns()
        {
            $columnRepository = ColumnRepository::getInstance();
            $columnIdentifiers = explode(',', get_option('einsatzvw_list_columns', ''));
            $enabledColumns = $columnRepository->getColumnsByIdentifier($columnIdentifiers);
    Severity: Minor
    Found in src/Settings/Pages/ReportList.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status