DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method getMailToPersonModal has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function getMailToPersonModal($form, TblPerson $tblPerson,  $ToPersonId = null)
    {
        if ($ToPersonId) {
            $title = new Title(new Edit() . ' E-Mail Adresse bearbeiten');
        } else {
Severity: Minor
Found in Application/Api/Contact/ApiMailToPerson.php - About 1 hr to fix

    Method createPreset has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function createPreset($PresetName, $ViewType = TblWorkSpace::VIEW_TYPE_ALL)
        {
    
            $tblWorkSpaceList = Individual::useService()->getWorkSpaceAll($ViewType);
            if ($tblWorkSpaceList && $PresetName) {
    Severity: Minor
    Found in Application/Api/Reporting/Individual/ApiIndividual.php - About 1 hr to fix

      Method getAddressToCompanyModal has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private function getAddressToCompanyModal($form, TblCompany $tblCompany,  $ToCompanyId = null)
          {
              if ($ToCompanyId) {
                  $title = new Title(new Edit() . ' Adresse bearbeiten');
              } else {
      Severity: Minor
      Found in Application/Api/Contact/ApiAddressToCompany.php - About 1 hr to fix

        Method getRelationshipToPersonModal has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private function getRelationshipToPersonModal($form, TblPerson $tblPerson,  $ToPersonId = null)
            {
                if ($ToPersonId) {
                    $title = new Title(new Edit() . ' Personenbeziehung bearbeiten');
                } else {
        Severity: Minor
        Found in Application/Api/Contact/ApiRelationshipToPerson.php - About 1 hr to fix

          Method pieceEditGroup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function pieceEditGroup($Id, $Group, $receiverGroupList, $receiverModalCreate, $receiverModalEdit, $receiverModalDestroy)
              {
                  $tblGroup = Account::useService()->getGroupById( $Id );
                  if( $tblGroup ) {
          
          
          Severity: Minor
          Found in Application/Api/Platform/Gatekeeper/ApiUserGroup.php - About 1 hr to fix

            Method setCheckBox has 27 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                protected function setCheckBox($content = ' ', $thicknessInnerLines = '0.5px')
                {
                    return (new Slice())
                        ->addSection((new Section())
                            ->addElementColumn((new Element())
            Severity: Minor
            Found in Application/Api/Education/Certificate/Generator/Certificate.php - About 1 hr to fix

              Method getESRLHead has 27 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function getESRLHead($PictureHeight = '135px')
                  {
              
                      $PictureSection = (new Section())
                          ->addElementColumn((new Element\Image('Common/Style/Resource/Logo/ESRL_Zeugnis_Logo.jpg',

                Method getCMSMissing has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function getCMSMissing($personId)
                    {
                
                        $Section = new Section();
                        $Section->addElementColumn((new Element())

                  Method createKamenzPdf has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public static function createKamenzPdf($Type = '', $Redirect = true)
                      {
                  
                          if ($Redirect) {
                              return \SPHERE\Application\Api\Education\Certificate\Generator\Creator::displayWaitingPage(
                  Severity: Minor
                  Found in Application/Api/Document/Creator.php - About 1 hr to fix

                    Method createGradebookPdf has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public static function createGradebookPdf($DivisionSubjectId, $Redirect = true)
                        {
                    
                            if ($Redirect) {
                                return \SPHERE\Application\Api\Education\Certificate\Generator\Creator::displayWaitingPage(
                    Severity: Minor
                    Found in Application/Api/Document/Creator.php - About 1 hr to fix

                      Method setCheckBox has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          protected function setCheckBox(
                              $content = ' ',
                              $thicknessInnerLines = '0.5px'
                          )
                          {
                      Severity: Minor
                      Found in Application/Api/Document/AbstractDocument.php - About 1 hr to fix

                        Method frontendDeclarationBasis has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function frontendDeclarationBasis()
                            {
                        
                                $YearString = new Bold('Kein aktuelles Jahr gefunden');
                                $tblYearList = false;
                        Severity: Minor
                        Found in Application/Reporting/DeclarationBasis/Frontend.php - About 1 hr to fix

                          Method frontendAnonymous has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function frontendAnonymous()
                              {
                          
                                  $Stage = new Stage('Daten Anonymisieren');
                          
                          
                          Severity: Minor
                          Found in Application/Platform/System/Anonymous/Frontend.php - About 1 hr to fix

                            Method fixArchive has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function fixArchive($Object)
                                {
                            
                                    if (!is_object($Object) && gettype($Object) == 'object') {
                                        // preg_replace_callback handler. Needed to calculate new key-length.
                            Severity: Minor
                            Found in Application/Platform/System/Archive/Service.php - About 1 hr to fix

                              Method UpdateCompany has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function UpdateCompany()
                                  {
                              
                                      $tblCompanyAll = Company::useService()->getCompanyAll();
                                      $count = 0;
                              Severity: Minor
                              Found in Application/Platform/System/Anonymous/Service.php - About 1 hr to fix

                                Method createGradeListCsv has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function createGradeListCsv($Period, $TaskId)
                                    {
                                
                                        $PeopleGradeList = $this->getStudentGradeList($TaskId);
                                
                                
                                Severity: Minor
                                Found in Application/Transfer/Indiware/Export/AppointmentGrade/Service.php - About 1 hr to fix

                                  Method frontendCustodyImport has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public function frontendCustodyImport($File = null, $IsMother = null)
                                      {
                                  
                                          $View = new Stage('Import Schneeberg', ($IsMother ? 'Mütter ' : 'Väter ') . 'Grundschule');
                                          $View->setContent(
                                  Severity: Minor
                                  Found in Application/Transfer/Import/Schneeberg/Frontend.php - About 1 hr to fix

                                    Method frontendUpdateDescriptionImport has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function frontendUpdateDescriptionImport($File = null)
                                        {
                                    
                                            $View = new Stage('Import Dresden', 'Personen/Institutionen-Beschreibung');
                                            $View->setContent(
                                    Severity: Minor
                                    Found in Application/Transfer/Import/Dresden/Frontend.php - About 1 hr to fix

                                      Method frontendPersonImport has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function frontendPersonImport($File = null)
                                          {
                                      
                                              $View = new Stage('Import Dresden', 'Personen-Daten');
                                              $View->setContent(
                                      Severity: Minor
                                      Found in Application/Transfer/Import/Dresden/Frontend.php - About 1 hr to fix

                                        Method frontendCompanyImport has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function frontendCompanyImport($File = null)
                                            {
                                        
                                                $View = new Stage('Import Dresden', 'Institutionen-Daten');
                                                $View->setContent(
                                        Severity: Minor
                                        Found in Application/Transfer/Import/Dresden/Frontend.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language