wikimedia/mediawiki-core

View on GitHub

Showing 11,779 of 11,779 total issues

Avoid too many return statements within this method.
Open

                return !empty( $row->page_lang )
                    ? (string)$row->page_lang
                    : null;
Severity: Major
Found in includes/cache/LinkCache.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $this->applyPatch(
                $patch,
                $fullpath,
                "Renaming index $oldIndex into $newIndex to table $table"
            );
    Severity: Major
    Found in includes/installer/DatabaseUpdater.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return true;
      Severity: Major
      Found in includes/installer/MysqlInstaller.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return 'output';
        Severity: Major
        Found in includes/installer/WebInstallerExistingWiki.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return false;
          Severity: Major
          Found in includes/historyblob/HistoryBlobStub.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $colnames;
            Severity: Major
            Found in includes/installer/PostgresUpdater.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return 'output';
              Severity: Major
              Found in includes/installer/WebInstallerExistingWiki.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $out;
                Severity: Major
                Found in includes/historyblob/DiffHistoryBlob.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return 'output';
                  Severity: Major
                  Found in includes/installer/WebInstallerExistingWiki.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return 'continue';
                    Severity: Major
                    Found in includes/installer/WebInstallerExistingWiki.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return;
                      Severity: Major
                      Found in includes/api/ApiQueryContributors.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return;
                        Severity: Major
                        Found in includes/api/ApiQueryContributors.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return $ret + $keepMetadata;
                          Severity: Major
                          Found in includes/api/ApiResult.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $params['tocontentmodel'];
                            Severity: Major
                            Found in includes/api/ApiComparePages.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $finalParams;
                              Severity: Major
                              Found in includes/api/ApiQueryImageInfo.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return null;
                                Severity: Major
                                Found in includes/api/ApiComparePages.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return null;
                                  Severity: Major
                                  Found in includes/api/ApiPageSet.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return true;
                                    Severity: Major
                                    Found in includes/api/ApiPageSet.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return $vals;
                                      Severity: Major
                                      Found in includes/api/ApiQueryImageInfo.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $params['fromcontentmodel'];
                                        Severity: Major
                                        Found in includes/api/ApiComparePages.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language