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 ×5 granddaughter');
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('%s three times removed descending', self::legacyCousinName($cousin, $sex2));
    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', '%1$s × %2$s', I18N::number($n), $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 ×%s grandparent', I18N::number($up - 1));
        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 ×%s grandparent', 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('great-great-great-granddaughter');
            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-great-great-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 granddaughter');
                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 ×%s grandson', 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('great ×%s grandchild', I18N::number($up + 1));
                    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 ×%s grandson', I18N::number($up));
                      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', 'third 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', 'eighth 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', '%s × cousin', I18N::number($n));
                            Severity: Major
                            Found in app/Services/RelationshipService.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return new JalaliDate($this);
                              Severity: Major
                              Found in app/Date/AbstractCalendarDate.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return [
                                                        $this->mediaFileInfo($data_filesystem, $row[0]) . $delete_link,
                                                        $img,
                                                        $create_form,
                                                    ];
                                Severity: Major
                                Found in app/Http/RequestHandlers/ManageMediaData.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return I18N::translate('great ×7 grandfather');
                                  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 ×%s grandfather', I18N::number($up - 2));
                                    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', 'tenth 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', 'fifth %s', $relation);
                                        Severity: Major
                                        Found in app/Services/RelationshipService.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language