DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Avoid too many return statements within this method.
Open

                        return null;
Severity: Major
Found in Application/Platform/Gatekeeper/Authorization/Account/Service.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return new Danger('Migration failed on '.$ProtocolError.' Views') . new Listing($ProtocolList);
    Severity: Major
    Found in Application/Platform/System/Database/ReportingUpgrade.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $Stage->setContent(new SuccessMessage('Reihenfolge erfolgreich aufgenommen. Weiterleitung erfolgt.'))
                  .new Redirect('/Transfer/Indiware/Export/AppointmentGrade', Redirect::TIMEOUT_SUCCESS);
      Severity: Major
      Found in Application/Transfer/Indiware/Export/AppointmentGrade/Frontend.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return new Success('Migration finished') . new Listing($ProtocolList);
        Severity: Major
        Found in Application/Platform/System/Database/ReportingUpgrade.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $tblDivision->getDisplayName();
          Severity: Major
          Found in Application/Transfer/Untis/Import/LectureshipGateway.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                return new Danger('Template ' . $File . ' not available!')
                                    . (isset($Exception) ? $this->parseException($Exception, 'Template') : '');
            Severity: Major
            Found in Application/Platform/System/Database/ReportingUpgrade.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return null;
              Severity: Major
              Found in Application/Transfer/Indiware/Import/LectureshipGateway.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/Lectureship.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/Export/AppointmentGrade/Prepare', Redirect::TIMEOUT_ERROR);
                  Severity: Major
                  Found in Application/Transfer/Indiware/Export/AppointmentGrade/Frontend.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return new Danger(new Ban().' Schuljahr nicht gefunden!');
                    Severity: Major
                    Found in Application/Transfer/Untis/Import/LectureshipGateway.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                        return new Danger(new Ban().' Klasse nicht gefunden!');
                        Severity: Major
                        Found in Application/Transfer/Untis/Import/LectureshipGateway.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return new Danger(new Ban().' Klasse nicht gefunden!');
                          Severity: Major
                          Found in Application/Transfer/Untis/Import/LectureshipGateway.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return new Warning(new Danger(new WarningIcon()).' Klasse wurde nicht gefunden');
                            Severity: Major
                            Found in Application/Transfer/Indiware/Import/LectureshipGateway.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return new Danger(new Ban().' Zu viele Treffer für die Klasse!');
                              Severity: Major
                              Found in Application/Transfer/Untis/Import/LectureshipGateway.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/Schneeberg/Service.php - About 30 mins to fix

                                    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/Meerane/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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language