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 Danger('Die E-Mail Adresse konnte nicht gespeichert werden.') . self::pipelineClose();
Severity: Major
Found in Application/Api/Contact/ApiMailToCompany.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return new Success('Die Personenbeziehung wurde erfolgreich gespeichert.')
                    . self::pipelineLoadRelationshipToPersonContent($PersonId)
                    . ApiAddressToPerson::pipelineLoadAddressToPersonContent($PersonId)
                    . ApiPhoneToPerson::pipelineLoadPhoneToPersonContent($PersonId)
                    . ApiMailToPerson::pipelineLoadMailToPersonContent($PersonId)
    Severity: Major
    Found in Application/Api/Contact/ApiRelationshipToPerson.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return new Success('Abrechnung erfolgreich angelegt').
                          new Warning('Folgende Zahlungszuweisungen wurden herrausgefiltert:<br/>'
                          .implode('<br/>', $PersonMissing))
                          .ApiBasket::pipelineRefreshTable();
      Severity: Major
      Found in Application/Api/Billing/Bookkeeping/ApiBasket.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return new Danger('Die Personenbeziehung konnte nicht gespeichert werden.') . self::pipelineClose();
        Severity: Major
        Found in Application/Api/Contact/ApiRelationshipToPerson.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return new Danger('Die Adresse konnte nicht gespeichert werden.') . self::pipelineClose();
          Severity: Major
          Found in Application/Api/Contact/ApiAddressToCompany.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return new Danger('Die Personenbeziehung konnte nicht gespeichert werden.') . self::pipelineClose();
            Severity: Major
            Found in Application/Api/Contact/ApiRelationshipToPerson.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return new Danger('Die E-Mail Adresse konnte nicht gespeichert werden.') . self::pipelineClose();
              Severity: Major
              Found in Application/Api/Contact/ApiMailToPerson.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return new Danger('Die Adresse konnte nicht gespeichert werden.') . self::pipelineClose();
                Severity: Major
                Found in Application/Api/Contact/ApiAddressToPerson.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return new Danger('Abrechnung konnte nicht gengelegt werden');
                  Severity: Major
                  Found in Application/Api/Billing/Bookkeeping/ApiBasket.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return new Layout(new LayoutGroup($preview));
                    Severity: Major
                    Found in Application/Api/Education/Graduation/Evaluation/ApiEvaluation.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return new Warning('Keine Mindestnoten gefunden', new Exclamation());
                      Severity: Major
                      Found in Application/Api/Education/Graduation/Gradebook/ApiMinimumGradeCount.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return new Warning('Klasse nicht gefunden', new Exclamation());
                        Severity: Major
                        Found in Application/Api/Education/Graduation/Evaluation/ApiEvaluation.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return new Warning('Keine Leistungsüberprüfungen gefunden', new Exclamation());
                          Severity: Major
                          Found in Application/Api/Education/Graduation/Evaluation/ApiEvaluation.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return new Layout(new LayoutGroup(new LayoutRow(new LayoutColumn($panelList))));
                            Severity: Major
                            Found in Application/Api/Education/Graduation/Gradebook/ApiMinimumGradeCount.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return false;

                                Avoid too many return statements within this method.
                                Open

                                            return $this->frontendPersonAddressContent($Id);
                                Severity: Major
                                Found in Application/Reporting/SerialLetter/Frontend.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return Division::useService()->getDivisionById($this->serviceTblObject);
                                  Severity: Major
                                  Found in Application/Reporting/CheckList/Service/Entity/TblListObjectList.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $Stage;
                                    Severity: Major
                                    Found in Application/Reporting/CheckList/Service.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                                  return $Stage.new Success(new SuccessIcon().
                                                                          ' Die '.$tblObjectType->getName().' ist zur Check-Liste hinzugefügt worden.')
                                                                      .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_SUCCESS,
                                                                          array('ListId' => $tblList->getId(), 'ObjectTypeId' => $tblObjectType->getId()));
                                      Severity: Major
                                      Found in Application/Reporting/CheckList/Frontend.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $Stage;
                                        Severity: Major
                                        Found in Application/Reporting/CheckList/Frontend.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language