wikimedia/mediawiki-core

View on GitHub
includes/HookContainer/HookRunner.php

Summary

Maintainability
F
1 mo
Test Coverage

File HookRunner.php has 4035 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace MediaWiki\HookContainer;

use Article;
Severity: Major
Found in includes/HookContainer/HookRunner.php - About 1 wk to fix

    HookRunner has 527 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class HookRunner implements
        \MediaWiki\Actions\Hook\GetActionNameHook,
        \MediaWiki\Auth\Hook\AuthManagerLoginAuthenticateAuditHook,
        \MediaWiki\Auth\Hook\ExemptFromAccountCreationThrottleHook,
        \MediaWiki\Auth\Hook\LocalUserCreatedHook,
    Severity: Major
    Found in includes/HookContainer/HookRunner.php - About 1 wk to fix

      Method onShowSearchHit has 12 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function onShowSearchHit( $searchPage, $result, $terms, &$link,
              &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html
      Severity: Major
      Found in includes/HookContainer/HookRunner.php - About 1 hr to fix

        Method onImageBeforeProduceHTML has 10 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function onImageBeforeProduceHTML( $linker, &$title, &$file,
                &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption
        Severity: Major
        Found in includes/HookContainer/HookRunner.php - About 1 hr to fix

          Method onDifferenceEngineNewHeader has 9 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader,
                  $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
                  $unhide
          Severity: Major
          Found in includes/HookContainer/HookRunner.php - About 1 hr to fix

            Method onChangeTagsAfterUpdateTags has 9 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function onChangeTagsAfterUpdateTags( $addedTags, $removedTags,
                    $prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user
            Severity: Major
            Found in includes/HookContainer/HookRunner.php - About 1 hr to fix

              Method onPageContentSave has 9 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public function onPageContentSave( $wikiPage, $user, $content, &$summary,
                      $isminor, $iswatch, $section, $flags, $status
              Severity: Major
              Found in includes/HookContainer/HookRunner.php - About 1 hr to fix

                Method onPageUndeleteComplete has 8 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                        ProperPageIdentity $page,
                        Authority $restorer,
                        string $reason,
                        RevisionRecord $restoredRev,
                        ManualLogEntry $logEntry,
                Severity: Major
                Found in includes/HookContainer/HookRunner.php - About 1 hr to fix

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

                      public function onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader,
                          $prevlink, $oldminor, $diffOnly, $ldel, $unhide
                  Severity: Major
                  Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                            Authority $from,
                            MailAddress $fromAddress,
                            UserEmailContact $to,
                            MailAddress $toAddress,
                            string $subject,
                    Severity: Major
                    Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                          public function onFormatAutocomments( &$comment, $pre, $auto, $post, $title,
                              $local, $wikiId
                      Severity: Major
                      Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                            public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id,
                                $content, $logEntry, $archivedRevisionCount
                        Severity: Major
                        Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                              public function onBeforeRevertedTagUpdate( $wikiPage, $user,
                                  $summary, $flags, $revisionRecord, $editResult, &$approved
                          Severity: Major
                          Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                                public function onChangesListSpecialPageQuery( $name, &$tables, &$fields,
                                    &$conds, &$query_options, &$join_conds, $opts
                            Severity: Major
                            Found in includes/HookContainer/HookRunner.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/HookContainer/HookRunner.php - About 50 mins to fix

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

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

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

                                      public function onUserGroupsChanged( $user, $added, $removed, $performer,
                                          $reason, $oldUGMs, $newUGMs
                                  Severity: Major
                                  Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                                        public function onLogLine( $log_type, $log_action, $title, $paramArray,
                                            &$comment, &$revert, $time
                                    Severity: Major
                                    Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                                              ProperPageIdentity $page,
                                              Authority $performer,
                                              string $reason,
                                              bool $unsuppress,
                                              array $timestamps,
                                      Severity: Major
                                      Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

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

                                            public function onShowSearchHitTitle( &$title, &$titleSnippet, $result, $terms,
                                                $specialSearch, &$query, &$attributes
                                        Severity: Major
                                        Found in includes/HookContainer/HookRunner.php - About 50 mins to fix

                                          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/HookContainer/HookRunner.php - About 50 mins to fix

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

                                                public function onChangesListInsertArticleLink( $changesList, &$articlelink,
                                                    &$s, $rc, $unpatrolled, $watched
                                            Severity: Minor
                                            Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                  public function onEditFilterMergedContent( $context, $content, $status,
                                                      $summary, $user, $minoredit
                                              Severity: Minor
                                              Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                    public function onArticleDelete( $wikiPage, $user, &$reason, &$error, &$status,
                                                        $suppress
                                                Severity: Minor
                                                Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                      public function onGetDifferenceEngine( $context, $old, $new, $refreshCache,
                                                          $unhide, &$differenceEngine
                                                  Severity: Minor
                                                  Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                        public function onBeforeInitialize( $title, $unused, $output, $user, $request,
                                                            $mediaWiki
                                                    Severity: Minor
                                                    Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                          public function onContentGetParserOutput( $content, $title, $revId, $options,
                                                              $generateHtml, &$parserOutput
                                                      Severity: Minor
                                                      Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                            public function onHtmlPageLinkRendererBegin( $linkRenderer, $target, &$text,
                                                                &$customAttribs, &$query, &$ret
                                                        Severity: Minor
                                                        Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                              public function onEnhancedChangesListModifyLineData( $changesList, &$data,
                                                                  $block, $rc, &$classes, &$attribs
                                                          Severity: Minor
                                                          Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                public function onGetRelativeTimestamp( &$output, &$diff, $timestamp,
                                                                    $relativeTo, $user, $lang
                                                            Severity: Minor
                                                            Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                  public function onTitleQuickPermissions( $title, $user, $action, &$errors,
                                                                      $doExpensiveQueries, $short
                                                              Severity: Minor
                                                              Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                    public function onMediaWikiPerformAction( $output, $article, $title, $user,
                                                                        $request, $mediaWiki
                                                                Severity: Minor
                                                                Found in includes/HookContainer/HookRunner.php - About 45 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/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                            Session $session,
                                                                            UserIdentity $user,
                                                                            string $returnTo,
                                                                            string $returnToQuery,
                                                                            string $returnToAnchor,
                                                                    Severity: Minor
                                                                    Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                          public function onHtmlPageLinkRendererEnd( $linkRenderer, $target, $isKnown,
                                                                              &$text, &$attribs, &$ret
                                                                      Severity: Minor
                                                                      Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                            public function onModifyExportQuery( $db, &$tables, $cond, &$opts,
                                                                                &$join_conds, &$conds
                                                                        Severity: Minor
                                                                        Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                              public function onUserMailerTransformMessage( $to, $from, &$subject, &$headers,
                                                                                  &$body, &$error
                                                                          Severity: Minor
                                                                          Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                                public function onSkinEditSectionLinks( $skin, $title, $section, $tooltip,
                                                                                    &$result, $lang
                                                                            Severity: Minor
                                                                            Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                                  public function onSpecialNewpagesConditions( $special, $opts, &$conds,
                                                                                      &$tables, &$fields, &$join_conds
                                                                              Severity: Minor
                                                                              Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                                    public function onSearchDataForIndex2( array &$fields, \ContentHandler $handler,
                                                                                        \WikiPage $page, ParserOutput $output, \SearchEngine $engine, RevisionRecord $revision
                                                                                Severity: Minor
                                                                                Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                                      public function onLocalFile__getHistory( $file, &$tables, &$fields, &$conds,
                                                                                          &$opts, &$join_conds
                                                                                  Severity: Minor
                                                                                  Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                                        public function onUploadVerifyUpload( $upload, $user, $props, $comment,
                                                                                            $pageText, &$error
                                                                                    Severity: Minor
                                                                                    Found in includes/HookContainer/HookRunner.php - About 45 mins to fix

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

                                                                                          public function onGetExtendedMetadata( &$combinedMeta, $file, $context,
                                                                                              $single, &$maxCacheTime
                                                                                      Severity: Minor
                                                                                      Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                            public function onAlternateUserMailer( $headers, $to, $from, $subject, $body ) {
                                                                                        Severity: Minor
                                                                                        Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                              public function onContribsPager__reallyDoQuery( &$data, $pager, $offset,
                                                                                                  $limit, $descending
                                                                                          Severity: Minor
                                                                                          Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                public function onDeletedContributionsLineEnding( $page, &$ret, $row,
                                                                                                    &$classes, &$attribs
                                                                                            Severity: Minor
                                                                                            Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                      LinkTarget $title,
                                                                                                      UserIdentity $user,
                                                                                                      string $action,
                                                                                                      string $rigor,
                                                                                                      array $errors
                                                                                              Severity: Minor
                                                                                              Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                    public function onEmailUser( &$to, &$from, &$subject, &$text, &$error ) {
                                                                                                Severity: Minor
                                                                                                Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                      public function onFileDeleteComplete( $file, $oldimage, $article, $user,
                                                                                                          $reason
                                                                                                  Severity: Minor
                                                                                                  Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                        public function onAfterImportPage( $title, $foreignTitle, $revCount,
                                                                                                            $sRevCount, $pageInfo
                                                                                                    Severity: Minor
                                                                                                    Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                          public function onGetHumanTimestamp( &$output, $timestamp, $relativeTo, $user,
                                                                                                              $lang
                                                                                                      Severity: Minor
                                                                                                      Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                            public function onArticleUndelete( $title, $create, $comment, $oldPageId,
                                                                                                                $restoredPages
                                                                                                        Severity: Minor
                                                                                                        Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                              public function onEditFilter( $editor, $text, $section, &$error, $summary ) {
                                                                                                          Severity: Minor
                                                                                                          Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                public function onDeletedContribsPager__reallyDoQuery( &$data, $pager, $offset,
                                                                                                                    $limit, $descending
                                                                                                            Severity: Minor
                                                                                                            Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                  public function onContributionsLineEnding( $page, &$ret, $row, &$classes,
                                                                                                                      &$attribs
                                                                                                              Severity: Minor
                                                                                                              Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                    public function onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file,
                                                                                                                        &$mime
                                                                                                                Severity: Minor
                                                                                                                Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                      public function onPageHistoryLineEnding( $historyAction, &$row, &$s, &$classes,
                                                                                                                          &$attribs
                                                                                                                  Severity: Minor
                                                                                                                  Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                        public function onParserGetVariableValueSwitch( $parser, &$variableCache,
                                                                                                                            $magicWordId, &$ret, $frame
                                                                                                                    Severity: Minor
                                                                                                                    Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                          public function onLogEventsListShowLogExtract( &$s, $types, $page, $user,
                                                                                                                              $param
                                                                                                                      Severity: Minor
                                                                                                                      Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                            public function onNewPagesLineEnding( $page, &$ret, $row, &$classes, &$attribs ) {
                                                                                                                        Severity: Minor
                                                                                                                        Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                              public function onParserOutputStashForEdit( $page, $content, $output, $summary,
                                                                                                                                  $user
                                                                                                                          Severity: Minor
                                                                                                                          Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                public function onSessionCheckInfo( &$reason, $info, $request, $metadata,
                                                                                                                                    $data
                                                                                                                            Severity: Minor
                                                                                                                            Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                  public function onLinkerMakeExternalLink( &$url, &$text, &$link, &$attribs,
                                                                                                                                      $linkType
                                                                                                                              Severity: Minor
                                                                                                                              Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                    public function onMultiContentSave( $renderedRevision, $user, $summary, $flags,
                                                                                                                                        $status
                                                                                                                                Severity: Minor
                                                                                                                                Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                      public function onSelfLinkBegin( $nt, &$html, &$trail, &$prefix, &$ret ) {
                                                                                                                                  Severity: Minor
                                                                                                                                  Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                        public function onParserCacheSaveComplete( $parserCache, $parserOutput, $title,
                                                                                                                                            $popts, $revId
                                                                                                                                    Severity: Minor
                                                                                                                                    Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                          public function onParserLimitReportFormat( $key, &$value, &$report, $isHTML,
                                                                                                                                              $localize
                                                                                                                                      Severity: Minor
                                                                                                                                      Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                            public function onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags ) {
                                                                                                                                        Severity: Minor
                                                                                                                                        Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                              public function onMarkPatrolled( $rcid, $user, $wcOnlySysopsCanPatrol, $auto,
                                                                                                                                                  &$tags
                                                                                                                                          Severity: Minor
                                                                                                                                          Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                public function onInitializeArticleMaybeRedirect( $title, $request,
                                                                                                                                                    &$ignoreRedirect, &$target, &$article
                                                                                                                                            Severity: Minor
                                                                                                                                            Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                  public function onNewDifferenceEngine( $title, &$oldId, &$newId, $old, $new ) {
                                                                                                                                              Severity: Minor
                                                                                                                                              Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                    public function onPreferencesFormPreSave( $formData, $form, $user, &$result,
                                                                                                                                                        $oldUserOptions
                                                                                                                                                Severity: Minor
                                                                                                                                                Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                      public function onSearchDataForIndex( &$fields, $handler, $page, $output, $engine ) {
                                                                                                                                                  Severity: Minor
                                                                                                                                                  Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                        public function onTitleMove( $old, $nt, $user, $reason, &$status ) {
                                                                                                                                                    Severity: Minor
                                                                                                                                                    Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                          public function onMovePageCheckPermissions( $oldTitle, $newTitle, $user,
                                                                                                                                                              $reason, $status
                                                                                                                                                      Severity: Minor
                                                                                                                                                      Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                            public function onSpecialSearchProfileForm( $search, &$form, $profile, $term,
                                                                                                                                                                $opts
                                                                                                                                                        Severity: Minor
                                                                                                                                                        Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                              public function onPrefixSearchBackend( $ns, $search, $limit, &$results,
                                                                                                                                                                  $offset
                                                                                                                                                          Severity: Minor
                                                                                                                                                          Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                public function onLogEventsListLineEnding( $page, &$ret, $entry, &$classes,
                                                                                                                                                                    &$attribs
                                                                                                                                                            Severity: Minor
                                                                                                                                                            Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                  public function onOldChangesListRecentChangesLine( $changeslist, &$s, $rc,
                                                                                                                                                                      &$classes, &$attribs
                                                                                                                                                              Severity: Minor
                                                                                                                                                              Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                    public function onWatchlistEditorBuildRemoveLine( &$tools, $title, $redirect,
                                                                                                                                                                        $skin, &$link
                                                                                                                                                                Severity: Minor
                                                                                                                                                                Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                          ProperPageIdentity $page,
                                                                                                                                                                          Authority $deleter,
                                                                                                                                                                          string $reason,
                                                                                                                                                                          StatusValue $status,
                                                                                                                                                                          bool $suppress
                                                                                                                                                                  Severity: Minor
                                                                                                                                                                  Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                        public function onSpecialRandomGetRandomTitle( &$randstr, &$isRedir,
                                                                                                                                                                            &$namespaces, &$extra, &$title
                                                                                                                                                                    Severity: Minor
                                                                                                                                                                    Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                          public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs,
                                                                                                                                                                              &$ret
                                                                                                                                                                      Severity: Minor
                                                                                                                                                                      Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

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

                                                                                                                                                                            public function onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev ) {
                                                                                                                                                                        Severity: Minor
                                                                                                                                                                        Found in includes/HookContainer/HookRunner.php - About 35 mins to fix

                                                                                                                                                                          There are no issues that match your filters.

                                                                                                                                                                          Category
                                                                                                                                                                          Status