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('father’s sister', 'aunt');
Severity: Major
Found in app/Services/RelationshipService.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return
                Registry::familyFactory()->make($xref, $tree, $gedcom) ??
                Registry::individualFactory()->make($xref, $tree, $gedcom) ??
                Registry::mediaFactory()->make($xref, $tree, $gedcom) ??
                Registry::noteFactory()->make($xref, $tree, $gedcom) ??
    Severity: Major
    Found in app/Factories/GedcomRecordFactory.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return Registry::repositoryFactory()->new($xref, $gedcom, $pending, $tree);
      Severity: Major
      Found in app/Factories/GedcomRecordFactory.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return [];
        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('ex-wife');
          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 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('daughter’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('father’s son', 'half-brother');
                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('wife');
                  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('elder 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('child’s spouse', 'son/daughter-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 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 I18N::translate('younger brother');
                          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('sibling’s spouse', 'brother/sister-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('sister’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('son’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('spouse’s father', 'father-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('brother’s wife’s sibling', 'brother/sister-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('child’s son’s daughter', '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::translateContext('daughter’s daughter’s daughter', 'great-granddaughter');
                                        Severity: Major
                                        Found in app/Services/RelationshipService.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language