wikimedia/mediawiki-core

View on GitHub
includes/api/ApiFeedRecentChanges.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getAllowedParams has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getAllowedParams() {
        $config = $this->getConfig();
        $feedFormatNames = array_keys( $config->get( MainConfigNames::FeedClasses ) );

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

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

        public function execute() {
            $config = $this->getConfig();
    
            $this->params = $this->extractRequestParams();
    
    
    Severity: Minor
    Found in includes/api/ApiFeedRecentChanges.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status