fisharebest/webtrees

View on GitHub

Showing 2,400 of 2,400 total issues

Avoid too many return statements within this method.
Open

                    return $this->response();
Severity: Major
Found in app/Http/Middleware/BadBotBlocker.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $dispatcher->dispatch($request);
    Severity: Major
    Found in app/Http/Middleware/Router.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                        return strip_tags(I18N::translateContext('CENTURY', '15th'));
        Severity: Major
        Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return strip_tags(I18N::translateContext('CENTURY', '13th'));
          Severity: Major
          Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return false;
            Severity: Major
            Found in app/Individual.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return '<div>' . I18N::translate('%1$s: %2$s', $label, $value) . '</div>';
              Severity: Major
              Found in app/Elements/NoteStructure.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return strip_tags(I18N::translateContext('CENTURY', '3rd'));
                Severity: Major
                Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return [
                                      new CensusOfUnitedStates(),
                                      new CensusOfRhodeIsland(),
                                      new CensusOfCanada(),
                                      new CensusOfCzechRepublic(),
                  Severity: Major
                  Found in app/Census/Census.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return strip_tags(I18N::translateContext('CENTURY', '12th'));
                    Severity: Major
                    Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return strip_tags(I18N::translateContext('CENTURY', '10th'));
                      Severity: Major
                      Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return strip_tags(I18N::translateContext('CENTURY', '7th'));
                        Severity: Major
                        Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

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

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                      return
                                          '<div class="wt-text-overflow-elipsis">' .
                                          '<button type="button" class="btn btn-text p-0" href="#" data-bs-target=".' . e($id) . '" data-bs-toggle="collapse" aria-controls="' . e($id) . '" aria-expanded="' . ($expanded ? 'true' : 'false') . '">' .
                                          view('icons/expand') .
                                          view('icons/collapse') .
                              Severity: Major
                              Found in app/Elements/NoteStructure.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return strip_tags(I18N::translateContext('CENTURY', '14th'));
                                Severity: Major
                                Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return strip_tags(I18N::translateContext('CENTURY', '4th'));
                                  Severity: Major
                                  Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return [
                                                        new CensusOfFrance(),
                                                        new CensusOfCanada(),
                                                        new CensusOfCzechRepublic(),
                                                        new CensusOfDenmark(),
                                    Severity: Major
                                    Found in app/Census/Census.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return $this;
                                      Severity: Major
                                      Found in app/Relationship.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return I18N::translate('Family with parents');
                                        Severity: Major
                                        Found in app/Individual.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language