wikimedia/mediawiki-core

View on GitHub

Showing 9,711 of 11,779 total issues

Avoid too many return statements within this method.
Open

            return "\u{314C}";
Severity: Major
Found in includes/language/Language.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return strtr( $number, [
                "\u{200E}" => '', // LRM
                "\u{200F}" => '', // RLM
                "\u{061C}" => '', // ALM
            ] );
    Severity: Major
    Found in includes/language/Language.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return "\u{314E}";
      Severity: Major
      Found in includes/language/Language.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return $this->timeanddate( $time );
        Severity: Major
        Found in includes/language/Language.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                      return "西暦$gy";
              Severity: Major
              Found in includes/language/Language.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return "\u{3145}";
                Severity: Major
                Found in includes/language/Language.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return self::tsToJapaneseGengoCalculate( $gy, 2019, '令和' );
                  Severity: Major
                  Found in includes/language/Language.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return "\u{3139}";
                    Severity: Major
                    Found in includes/language/Language.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                    return "\u{3137}";
                        Severity: Major
                        Found in includes/language/Language.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return "\u{314B}";
                          Severity: Major
                          Found in includes/language/Language.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return '↑';
                            Severity: Major
                            Found in includes/language/Language.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

                                                return $this->isSrational( $val );
                                Severity: Major
                                Found in includes/media/Exif.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return $status; // MediaTransformError
                                  Severity: Major
                                  Found in includes/media/SvgHandler.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return substr( $finalTimestamp, 0, 10 );
                                    Severity: Major
                                    Found in includes/media/IPTC.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return $this->getClientScalingThumbnailImage( $image, $scalerParams );
                                      Severity: Major
                                      Found in includes/media/TransformationalImageHandler.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return new MediaTransformError( 'thumbnail_error',
                                                        $params['width'], $params['height'],
                                                        wfMessage( 'filemissing' )
                                                    );
                                        Severity: Major
                                        Found in includes/media/DjVuHandler.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language