wikimedia/mediawiki-extensions-Wikibase

View on GitHub

Showing 2,096 of 2,096 total issues

Avoid too many return statements within this method.
Open

                return null;
Severity: Major
Found in repo/includes/Hooks/SidebarBeforeOutputHookHandler.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $result;
    Severity: Major
    Found in repo/includes/Validators/SnakValidator.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return Result::newSuccess();
      Severity: Major
      Found in repo/includes/Validators/EntityUriValidator.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

                  return $entityId;
          Severity: Major
          Found in repo/includes/Hooks/SidebarBeforeOutputHookHandler.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return null;
            Severity: Major
            Found in repo/includes/Hooks/SidebarBeforeOutputHookHandler.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return null;
              Severity: Major
              Found in repo/includes/LinkedData/EntityDataFormatProvider.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return '?';
                Severity: Major
                Found in repo/includes/SummaryFormatter.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                      return '<' . get_class( $arg ) . '>';
                  Severity: Major
                  Found in repo/includes/SummaryFormatter.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return true;
                    Severity: Major
                    Found in repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return false;
                      Severity: Major
                      Found in repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return strval( $arg );
                        Severity: Major
                        Found in repo/includes/SummaryFormatter.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return $this->language->commaList( $strings );
                          Severity: Major
                          Found in repo/includes/SummaryFormatter.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return true;
                            Severity: Major
                            Found in repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return true;
                              Severity: Major
                              Found in repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return true;
                                Severity: Major
                                Found in repo/includes/Hooks/HtmlPageLinkRendererEndHookHandler.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return $this->status;
                                  Severity: Major
                                  Found in repo/includes/EditEntity/MediaWikiEditEntity.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $this->wholeEntityEditSummaryConverter->newSummaryForItemPatch( $editSummary );
                                    Severity: Major
                                    Found in repo/rest-api/src/Infrastructure/EditSummaryFormatter.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return null;
                                      Severity: Major
                                      Found in repo/includes/ParserOutput/GeoDataDataUpdater.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $this->handleSitelinkEditSummary( $editSummary );
                                        Severity: Major
                                        Found in repo/rest-api/src/Infrastructure/EditSummaryFormatter.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language