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 $status;
Severity: Major
Found in repo/includes/Actions/SubmitEntityAction.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return Status::newFatal( 'wikibase-undo-badpage', $this->getTitle(), $olderRevision->getId() );
    Severity: Major
    Found in repo/includes/Actions/EditEntityAction.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return Status::newFatal( 'wikibase-undo-nocontent', $this->getTitle(), $olderRevision->getId() );
      Severity: Major
      Found in repo/includes/Actions/EditEntityAction.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return Status::newFatal( 'wikibase-undo-nocontent', $this->getTitle(), $newerRevision->getId() );
        Severity: Major
        Found in repo/includes/Actions/EditEntityAction.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return $status;
          Severity: Major
          Found in repo/includes/Actions/SubmitEntityAction.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                              return Status::newFatal( 'undo-norev', $req->getInt( 'undo' ) );
              Severity: Major
              Found in repo/includes/Actions/EditEntityAction.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return $conflict;
                Severity: Major
                Found in repo/includes/Store/BagOStuffSiteLinkConflictLookup.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

                                return Status::newFatal( 'wikibase-undo-nocontent', $this->getTitle(), $latestRevision->getId() );
                    Severity: Major
                    Found in repo/includes/Actions/EditEntityAction.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return Status::newGood( [ $olderRevision, $newerRevision, $latestRevision ] );
                      Severity: Major
                      Found in repo/includes/Actions/EditEntityAction.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

                                  return wfEscapeWikiText( strval( $value ) );
                          Severity: Major
                          Found in repo/includes/Localizer/MessageParameterFormatter.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return [ 'read' ];
                            Severity: Major
                            Found in repo/includes/Store/WikiPageEntityStorePermissionChecker.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $status;
                              Severity: Major
                              Found in repo/includes/Specials/SpecialSetSiteLink.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return [ 'read', 'edit' ];
                                Severity: Major
                                Found in repo/includes/Store/WikiPageEntityStorePermissionChecker.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return $dataValue->getValue();
                                  Severity: Major
                                  Found in repo/includes/PropertyInfoBuilder.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $formFields;
                                    Severity: Major
                                    Found in repo/includes/Specials/SpecialNewItem.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                return false;
                                        Severity: Major
                                        Found in repo/includes/RepoHooks.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language