wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/PageChangeTracker.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method onPageDeleteComplete has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

        ProperPageIdentity $page,
        Authority $deleter,
        string $reason,
        int $pageID,
        RevisionRecord $deletedRev,
Severity: Major
Found in includes/PageChangeTracker.php - About 50 mins to fix

    Method onPageMoveComplete has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function onPageMoveComplete( $old, $new, $user, $pageid, $redirid, $reason, $revision ) {
    Severity: Major
    Found in includes/PageChangeTracker.php - About 50 mins to fix

      Method onPageSaveComplete has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function onPageSaveComplete( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult ) {
      Severity: Minor
      Found in includes/PageChangeTracker.php - About 45 mins to fix

        Method onPageDelete has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function onPageDelete( ProperPageIdentity $page,
                Authority $deleter,
                string $reason,
                StatusValue $status,
                bool $suppress
        Severity: Minor
        Found in includes/PageChangeTracker.php - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status