wikimedia/mediawiki-core

View on GitHub
maintenance/deleteSelfExternals.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function execute() {
        // Extract the host and scheme from $wgServer
        $server = $this->getConfig()->get( MainConfigNames::Server );
        $bits = $this->getServiceContainer()->getUrlUtils()->parse( $server );
        if ( !$bits ) {
Severity: Minor
Found in maintenance/deleteSelfExternals.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status