fisharebest/webtrees

View on GitHub

Showing 1,726 of 2,403 total issues

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 I18N::translate('Family with parents');
    Severity: Major
    Found in app/Individual.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return I18N::number(0);
      Severity: Major
      Found in app/Age.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return ($century - 1) . '01-' . $century . '00';
        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', '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 false;
            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', '1st'));
              Severity: Major
              Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

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

                  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 $this->conditionMarried($sex);
                    Severity: Major
                    Found in app/Census/AbstractCensusColumnCondition.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return [
                                          new CensusOfUnitedStates(),
                                          new CensusOfRhodeIsland(),
                                          new CensusOfEngland(),
                                          new CensusOfScotland(),
                      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', '6th'));
                        Severity: Major
                        Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return $handler->handle($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 I18N::plural('%s day', '%s days', $this->days, I18N::number($this->days));
                            Severity: Major
                            Found in app/Age.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return strip_tags(I18N::translateContext('CENTURY', '11th'));
                              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 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 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 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', '5th'));
                                        Severity: Major
                                        Found in app/Statistics/Service/CenturyService.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language