wikimedia/mediawiki-core

View on GitHub
includes/api/ApiRemoveAuthenticationData.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function execute() {
        if ( !$this->getUser()->isNamed() ) {
            $this->dieWithError( 'apierror-mustbeloggedin-removeauth', 'notloggedin' );
        }

Severity: Minor
Found in includes/api/ApiRemoveAuthenticationData.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status