owncloud/core

View on GitHub
lib/private/Authentication/Token/DefaultTokenProvider.php

Summary

Maintainability
A
1 hr
Test Coverage

Method generateToken has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function generateToken($token, $uid, $loginName, $password, $name, $type = IToken::TEMPORARY_TOKEN) {
Severity: Minor
Found in lib/private/Authentication/Token/DefaultTokenProvider.php - About 45 mins to fix

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

        public function __construct(DefaultTokenMapper $mapper, ICrypto $crypto, IConfig $config, ILogger $logger, ITimeFactory $time) {
    Severity: Minor
    Found in lib/private/Authentication/Token/DefaultTokenProvider.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status