wikimedia/mediawiki-core

View on GitHub
includes/content/AbstractContent.php

Summary

Maintainability
A
3 hrs
Test Coverage

AbstractContent has 23 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class AbstractContent implements Content {
    /**
     * Name of the content model this Content object represents.
     * Use with CONTENT_MODEL_XXX constants
     *
Severity: Minor
Found in includes/content/AbstractContent.php - About 2 hrs to fix

    Avoid too many return statements within this method.
    Open

            return $this->equalsInternal( $that );
    Severity: Major
    Found in includes/content/AbstractContent.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status