wikimedia/mediawiki-core

View on GitHub
includes/auth/RememberMeAuthenticationRequest.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function __construct( string $flag = self::CHOOSE_REMEMBER ) {
        /** @var SessionProvider $provider */
        $provider = SessionManager::getGlobalSession()->getProvider();
        '@phan-var SessionProvider $provider';

Severity: Minor
Found in includes/auth/RememberMeAuthenticationRequest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status