wikimedia/mediawiki-core

View on GitHub

Showing 11,779 of 11,779 total issues

Avoid too many return statements within this method.
Open

                    return $content;
Severity: Major
Found in includes/media/FormatMetadata.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return "\n*" . implode( "\n*", $vals );
    Severity: Major
    Found in includes/media/FormatMetadata.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                        return [ 'before', $this->getLanguage()->formatTimePeriod( $param['period'] ) ];
        Severity: Major
        Found in includes/Message/Message.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return [ 'after', $msg->format( $format ) ];
          Severity: Major
          Found in includes/Message/Message.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return [ 'after', $this->formatPlaintext( $param['plaintext'], $format ) ];
            Severity: Major
            Found in includes/Message/Message.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return "\n#" . implode( "\n#", $vals );
              Severity: Major
              Found in includes/media/FormatMetadata.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return [ 'before', $param ];
                Severity: Major
                Found in includes/Message/Message.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return [ 'before', '[INVALID]' ];
                  Severity: Major
                  Found in includes/Message/Message.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                                return $rc->getAttribute( 'rc_source' ) === RecentChange::SRC_LOG;
                    Severity: Major
                    Found in includes/specialpage/ChangesListSpecialPage.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $rc->getAttribute( 'rc_source' ) === RecentChange::SRC_CATEGORIZE;
                      Severity: Major
                      Found in includes/specialpage/ChangesListSpecialPage.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

                                                      return $this->msg( 'noemailcreate' );
                          Severity: Major
                          Found in includes/specialpage/LoginSignupSpecialPage.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                                          return $rc->getAttribute( 'rc_patrolled' ) == RecentChange::PRC_UNPATROLLED;
                              Severity: Major
                              Found in includes/specialpage/ChangesListSpecialPage.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                          return $fieldDefinitions;
                                  Severity: Major
                                  Found in includes/specialpage/LoginSignupSpecialPage.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                                return $ctx->getUser()->equals( $rc->getPerformerIdentity() );
                                    Severity: Major
                                    Found in includes/specialpage/ChangesListSpecialPage.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                                  return $this->msg( 'changeemail-maxlength' );
                                      Severity: Major
                                      Found in includes/specialpage/LoginSignupSpecialPage.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                                    return $rc->getAttribute( 'rc_bot' );
                                        Severity: Major
                                        Found in includes/specialpage/ChangesListSpecialPage.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language