DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Avoid too many return statements within this method.
Open

                    return new Warning(json_encode($Location)) . new Danger(
                        "File konnte nicht importiert werden, da nicht alle erforderlichen Spalten gefunden wurden");
Severity: Major
Found in Application/Transfer/Import/Hormersdorf/Service.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return new Danger('File nicht gefunden');
    Severity: Major
    Found in Application/Transfer/Import/Schneeberg/Service.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return new Danger('File nicht gefunden');
      Severity: Major
      Found in Application/Transfer/Import/Hormersdorf/Service.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return new Danger('File nicht gefunden');
        Severity: Major
        Found in Application/Transfer/Import/Hormersdorf/Service.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                              return
                                  new Success('Es wurden ' . $countStudent . ' Schüler erfolgreich angelegt.') .
                                  new Success('Es wurden ' . $countFather . ' Väter erfolgreich angelegt.') .
                                  ($countFatherExists > 0 ?
                                      new Warning($countFatherExists . ' Väter exisistieren bereits.') : '') .
          Severity: Major
          Found in Application/Transfer/Import/Hormersdorf/Service.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $Stage;
            Severity: Major
            Found in Application/Transfer/Indiware/Import/StudentCourse.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return new Danger('File nicht gefunden');
              Severity: Major
              Found in Application/Transfer/Import/Schneeberg/Service.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return new Danger('File nicht gefunden');
                Severity: Major
                Found in Application/Transfer/Import/Schulstiftung/Service.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return new Danger('File nicht gefunden');
                  Severity: Major
                  Found in Application/Transfer/Import/Schneeberg/Service.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $Stage->setContent(new WarningMessage('Ungültige Dateiendung!'))
                                    .new Redirect('/Transfer/Indiware/Import', Redirect::TIMEOUT_ERROR);
                    Severity: Major
                    Found in Application/Transfer/Indiware/Import/StudentCourse.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return new Danger('File nicht gefunden');
                      Severity: Major
                      Found in Application/Transfer/Import/LebensweltZwenkau/Service.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return new Danger('File nicht gefunden');
                        Severity: Major
                        Found in Application/Transfer/Import/Schneeberg/Service.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return new Danger('File nicht gefunden');
                          Severity: Major
                          Found in Application/Transfer/Import/Muldental/Service.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return new Danger('File nicht gefunden');
                            Severity: Major
                            Found in Application/Transfer/Import/FuxMedia/Service.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return new Danger('File nicht gefunden');
                              Severity: Major
                              Found in Application/Transfer/Import/Muldental/Service.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return new Danger('File nicht gefunden');
                                Severity: Major
                                Found in Application/Transfer/Import/Annaberg/Service.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return new Danger('File nicht gefunden');
                                  Severity: Major
                                  Found in Application/Transfer/Import/Dresden/Service.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return new Danger('File nicht gefunden');
                                    Severity: Major
                                    Found in Application/Transfer/Import/Dresden/Service.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return new Danger('File nicht gefunden');
                                      Severity: Major
                                      Found in Application/Transfer/Import/Muldental/Service.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return new Danger('File nicht gefunden');
                                        Severity: Major
                                        Found in Application/Transfer/Import/Tharandt/Service.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language