wikimedia/mediawiki-core

View on GitHub

Showing 11,461 of 11,461 total issues

Avoid too many return statements within this method.
Open

                return $title;
Severity: Major
Found in includes/search/TitleMatcher.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return $title;
    Severity: Major
    Found in includes/search/TitleMatcher.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $thumb->toHtml( [
                      'desc-link' => true,
                      'custom-title-link' => $title,
                      'loading' => 'lazy',
                      'alt' => $this->specialPage->msg( 'search-thumbnail-alt' )->params( $title ),
      Severity: Major
      Found in includes/search/searchwidgets/FullSearchResultWidget.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $srchres;
        Severity: Major
        Found in includes/search/SearchExactMatchRescorer.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

                        return $normalized;
                Severity: Major
                Found in maintenance/includes/TextPassDumper.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return true;
                  Severity: Major
                  Found in maintenance/storage/resolveStubs.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return false;
                    Severity: Major
                    Found in maintenance/storage/resolveStubs.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return false;
                      Severity: Major
                      Found in maintenance/storage/resolveStubs.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return false;
                        Severity: Major
                        Found in maintenance/storage/resolveStubs.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return false;
                          Severity: Major
                          Found in maintenance/storage/resolveStubs.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return;
                            Severity: Major
                            Found in maintenance/fileOpPerfTest.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return;
                              Severity: Major
                              Found in maintenance/fileOpPerfTest.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return true;
                                Severity: Major
                                Found in maintenance/migrateLinksTable.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return 0;
                                  Severity: Major
                                  Found in maintenance/uppercaseTitlesForUnicodeTransition.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return true;
                                    Severity: Major
                                    Found in maintenance/uppercaseTitlesForUnicodeTransition.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return true;
                                      Severity: Major
                                      Found in maintenance/migrateLinksTable.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $this->namespaces;
                                        Severity: Major
                                        Found in maintenance/uppercaseTitlesForUnicodeTransition.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language