wikimedia/mediawiki-extensions-UploadWizard

View on GitHub
includes/CampaignHooks.php

Summary

Maintainability
A
3 hrs
Test Coverage

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

        $article, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount
Severity: Major
Found in includes/CampaignHooks.php - About 50 mins to fix

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

            $oldTitle,
            $newTitle,
            $user,
            $pageid,
            $redirid,
    Severity: Major
    Found in includes/CampaignHooks.php - About 50 mins to fix

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

          public function onEditFilterMergedContent( IContextSource $context, Content $content, Status $status, $summary,
              User $user, $minoredit
      Severity: Minor
      Found in includes/CampaignHooks.php - About 45 mins to fix

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

                $wikiPage,
                $userIdentity,
                $summary,
                $flags,
                $revisionRecord,
        Severity: Minor
        Found in includes/CampaignHooks.php - About 45 mins to fix

          There are no issues that match your filters.

          Category
          Status