fisharebest/webtrees

View on GitHub

Showing 1,726 of 2,403 total issues

Avoid too many return statements within this method.
Open

                return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
Severity: Major
Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
    Severity: Major
    Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return view('modules/contact-links/footer', [
                      'contact_links' => $this->contactLinkTechnical($webmaster_user, $request),
                  ]);
      Severity: Major
      Found in app/Module/ContactsFooterModule.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return Registry::sourceFactory()->make($xref, $this->record->tree());
        Severity: Major
        Found in app/Fact.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return $fact_privacy[$this->tag] >= $access_level;
          Severity: Major
          Found in app/Fact.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return Registry::locationFactory()->make($xref, $this->record->tree());
            Severity: Major
            Found in app/Fact.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return $individual_fact_privacy[$xref][$this->tag] >= $access_level;
              Severity: Major
              Found in app/Fact.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
                Severity: Major
                Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return new TomSelect(element, { });
                  Severity: Major
                  Found in resources/js/webtrees.js - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
                    Severity: Major
                    Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return false;
                      Severity: Major
                      Found in resources/js/webtrees.js - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return true;
                        Severity: Major
                        Found in app/Fact.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
                          Severity: Major
                          Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return Registry::mediaFactory()->make($xref, $tree);
                            Severity: Major
                            Found in app/Module/UserFavoritesModule.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
                              Severity: Major
                              Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return $this->viewResponse('modules/pedigree-chart/chart', [
                                                'ancestors'   => $ancestors,
                                                'generations' => $generations,
                                                'style'       => $style,
                                                'layout'      => 'right',
                                Severity: Major
                                Found in app/Module/PedigreeChartModule.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis, $y_axis_type));
                                  Severity: Major
                                  Found in app/Module/StatisticsChartModule.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return Registry::mediaFactory()->make($xref, $this->record->tree());
                                    Severity: Major
                                    Found in app/Fact.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return Registry::submitterFactory()->make($xref, $this->record->tree());
                                      Severity: Major
                                      Found in app/Fact.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return BlockContinue::at($cursor);
                                        Severity: Major
                                        Found in app/CommonMark/CensusTableContinueParser.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language