DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Avoid too many return statements within this method.
Open

                    return $Stage . new Danger(new Ban() .
                            ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                        .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                            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 . new Danger(new Ban() .
                                        ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                                    .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                                        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.new Success(new SuccessIcon().
                                      ' Die '.$tblObjectType->getName().' ist zur Check-Liste hinzugefügt worden.')
                                  .new Success(new SuccessIcon().$countAdd.' Institution/en hinzugefügt.')
                                  .( $countExists > 0 ? new Warning($countExists.' Institution/en existierten bereits in der Check-Liste') : '' )
                                  .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_SUCCESS,
      Severity: Major
      Found in Application/Reporting/CheckList/Frontend.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return false;
        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.new Success(new SuccessIcon().
                                          ' Die '.$tblObjectType->getName().' ist zur Check-Liste hinzugefügt worden.')
                                      .new Success(new SuccessIcon().$countAdd.' Person/en hinzugefügt.')
                                      .( $countExists > 0 ? new Warning($countExists.' Person/en existierten bereits in der Check-Liste') : '' )
                                      .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_SUCCESS,
          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.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 . new Danger(new Ban() .
                                          ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                                      .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                                          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 CompanyGroup::useService()->getGroupById($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 . new Danger(new Ban() .
                                          ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                                      .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                                          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.new Success(new SuccessIcon().
                                                    ' Die '.$tblObjectType->getName().' ist zur Check-Liste hinzugefügt worden.')
                                                .new Success(new SuccessIcon().$countAdd.' Person/en hinzugefügt.')
                                                .( $countExists > 0 ? new Warning($countExists.' Person/en existierten bereits in der Check-Liste') : '' )
                                                .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_SUCCESS,
                    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

                        Avoid too many return statements within this method.
                        Open

                                                    return $Stage . new Danger(new Ban() .
                                                            ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                                                        .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                                                            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 . new Danger(new Ban() .
                                                              ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                                                          .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                                                              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 $ObjectA->getId() - $ObjectB->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.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 . new Danger(new Ban() .
                                                            ' Die '.$tblObjectType->getName().' konnte zur Check-Liste nicht hinzugefügt werden.')
                                                        .new Redirect('/Reporting/CheckList/Object/Select', Redirect::TIMEOUT_ERROR,
                                                            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 $View;
                                  Severity: Major
                                  Found in Application/Platform/Gatekeeper/Authentication/Frontend.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return (string)$Content;
                                    Severity: Major
                                    Found in Application/Platform/System/Protocol/Protocol.php - About 30 mins to fix

                                      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 null;
                                        Severity: Major
                                        Found in Application/Platform/Gatekeeper/Authorization/Account/Service.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language