fisharebest/webtrees

View on GitHub

Showing 1,726 of 2,403 total issues

Avoid too many return statements within this method.
Open

                    return I18N::translate('great ×4 grandchild');
Severity: Major
Found in app/Services/RelationshipService.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return I18N::translate('great ×5 grandchild');
    Severity: Major
    Found in app/Services/RelationshipService.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                          return I18N::translate('great ×6 grandchild');
      Severity: Major
      Found in app/Services/RelationshipService.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return I18N::translateContext('MALE', 'twelfth cousin');
        Severity: Major
        Found in app/Services/RelationshipService.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                              return I18N::translateContext('MALE', 'fourteenth cousin');
          Severity: Major
          Found in app/Services/RelationshipService.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return I18N::translateContext('FEMALE', 'first cousin');
            Severity: Major
            Found in app/Services/RelationshipService.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                  return I18N::translateContext('FEMALE', 'eleventh cousin');
              Severity: Major
              Found in app/Services/RelationshipService.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return I18N::translate('second cousin');
                Severity: Major
                Found in app/Services/RelationshipService.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return I18N::translate('seventh cousin');
                  Severity: Major
                  Found in app/Services/RelationshipService.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return I18N::translate('fifteenth cousin');
                    Severity: Major
                    Found in app/Services/RelationshipService.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                          return I18N::translateContext('FEMALE', 'second %s', $relation);
                      Severity: Major
                      Found in app/Services/RelationshipService.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return I18N::translateContext('FEMALE', 'fourth %s', $relation);
                        Severity: Major
                        Found in app/Services/RelationshipService.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return I18N::translate('great ×6 grandparent');
                          Severity: Major
                          Found in app/Services/RelationshipService.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return $this->wizardStepCopyAndCleanUp($zip_file);
                            Severity: Major
                            Found in app/Http/RequestHandlers/UpgradeWizardStep.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                              return I18N::translate('great ×%s grandfather', I18N::number($up - 3));
                              Severity: Major
                              Found in app/Services/RelationshipService.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                            return I18N::translate('%1$s %2$s times removed descending', self::legacyCousinName($cousin, $sex2), I18N::number($removed));
                                Severity: Major
                                Found in app/Services/RelationshipService.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return I18N::translateContext('MALE', 'sixth cousin');
                                  Severity: Major
                                  Found in app/Services/RelationshipService.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return I18N::translateContext('FEMALE', 'second cousin');
                                    Severity: Major
                                    Found in app/Services/RelationshipService.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                          return I18N::translateContext('FEMALE', 'sixth cousin');
                                      Severity: Major
                                      Found in app/Services/RelationshipService.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return I18N::translateContext('FEMALE', 'thirteenth cousin');
                                        Severity: Major
                                        Found in app/Services/RelationshipService.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language