wikimedia/mediawiki-core

View on GitHub
includes/Rest/Handler/RevisionHTMLHandler.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function run(): Response {
        $this->contentHelper->checkAccess();

        $page = $this->contentHelper->getPage();
        $revisionRecord = $this->contentHelper->getTargetRevision();
Severity: Minor
Found in includes/Rest/Handler/RevisionHTMLHandler.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status