wikimedia/mediawiki-core

View on GitHub
includes/OutputTransform/ContentDOMTransformStage.php

Summary

Maintainability
A
1 hr
Test Coverage

Method transform has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function transform( ParserOutput $po, ?ParserOptions $popts, array &$options ): ParserOutput {
        // TODO will use HTMLHolder in the future
        $doc = null;
        $hasPageBundle = PageBundleParserOutputConverter::hasPageBundle( $po );
        if ( $hasPageBundle ) {
Severity: Minor
Found in includes/OutputTransform/ContentDOMTransformStage.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status