wikimedia/mediawiki-extensions-Translate

View on GitHub

Showing 1,238 of 1,238 total issues

Avoid too many return statements within this function.
Open

    return false;
Severity: Major
Found in resources/lib/Chart.js/Chart.js - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return;
    Severity: Major
    Found in src/PageTranslation/PageTranslationSpecialPage.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return;
      Severity: Major
      Found in src/PageTranslation/PageTranslationSpecialPage.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return !$isInline;
        Severity: Major
        Found in src/PageTranslation/TranslationUnit.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return Status::newGood();
          Severity: Major
          Found in src/TranslatorInterface/ReviewTranslationActionApi.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return [ 'tpt-translation-restricted', $reason ];
            Severity: Major
            Found in src/PageTranslation/Hooks.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return true;
              Severity: Major
              Found in src/PageTranslation/Hooks.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return $validationResult->hasIssues();
                Severity: Major
                Found in src/MessageLoading/MessageHandle.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return true;
                  Severity: Major
                  Found in src/TranslatorInterface/TranslateEditAddons.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return false;
                    Severity: Major
                    Found in src/PageTranslation/Hooks.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return [ 'tpt-translation-restricted-no-reason' ];
                      Severity: Major
                      Found in src/PageTranslation/Hooks.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return $error === [];
                        Severity: Major
                        Found in src/PageTranslation/Hooks.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return [];
                          Severity: Major
                          Found in src/PageTranslation/Hooks.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return Status::newFatal( 'apierror-translate-fuzzymessage' );
                            Severity: Major
                            Found in src/TranslatorInterface/ReviewTranslationActionApi.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return;
                              Severity: Major
                              Found in src/PageTranslation/Hooks.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return false;
                                Severity: Major
                                Found in src/TranslatorInterface/TranslateEditAddons.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return [];
                                  Severity: Major
                                  Found in src/TtmServer/TtmServerMessageUpdateJob.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                        return;
                                        Severity: Major
                                        Found in src/Synchronization/ImportTranslationsSpecialPage.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language