owncloud/core

View on GitHub
settings/Panels/Personal/Profile.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function getPanel() {
        $activeLangCode = $this->config->getUserValue(
            $this->userSession->getUser()->getUID(),
            'core',
            'lang',
Severity: Minor
Found in settings/Panels/Personal/Profile.php - About 1 hr to fix

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

        public function __construct(IConfig $config,
                                       IGroupManager $groupManager,
                                       IUserSession $userSession,
                                       IFactory $lfactory,
                                       LocaleHelper $localeHelper
    Severity: Minor
    Found in settings/Panels/Personal/Profile.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status