fisharebest/webtrees

View on GitHub

Showing 1,726 of 2,403 total issues

Avoid too many return statements within this method.
Open

                return I18N::translateContext('child’s daughter', '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::translateContext('husband’s daughter', 'step-daughter');
    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('mother’s daughter', 'half-sister');
      Severity: Major
      Found in app/Services/RelationshipService.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return '';
        Severity: Major
        Found in app/Services/MediaFileService.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                      return I18N::translate('twin sister');
          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('brother’s child', 'nephew/niece');
            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('child’s child', '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('child’s son', 'grandson');
                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('daughter’s husband', 'son-in-law');
                  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('father’s wife', 'step-mother');
                    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('husband’s child', 'step-child');
                      Severity: Major
                      Found in app/Services/RelationshipService.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return new RomanDate([$y, $m, $d]);
                        Severity: Major
                        Found in app/Factories/CalendarDateFactory.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return new Windows1250();
                          Severity: Major
                          Found in app/Factories/EncodingFactory.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                                    return I18N::translate('spouse');
                            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('son');
                              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('sister');
                                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('brother’s son', 'nephew');
                                  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('father’s brother', 'uncle');
                                    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('father’s father', 'paternal 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::translateContext('father’s mother', 'paternal grandmother');
                                        Severity: Major
                                        Found in app/Services/RelationshipService.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language