DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method frontendUpdateCompany has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function frontendUpdateCompany($Confirm = false)
    {

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

    Method frontendUpdatePerson has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

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

      Method setTestPicture has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private function setTestPicture(Schema &$Schema)
          {
      
              $Table = $this->getConnection()->createTable($Schema, 'tblTestPicture');
              if (!$this->getConnection()->hasColumn('tblTestPicture', 'Name')) {
      Severity: Minor
      Found in Application/Platform/System/Test/Service/Setup.php - About 1 hr to fix

        Method runConvert has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function runConvert($Row)
            {
                $Result = array();
                foreach ($Row as $Part) {
                    $Result = array_merge($Result, $Part);
        Severity: Minor
        Found in Application/Transfer/Untis/Import/LectureshipGateway.php - About 1 hr to fix

          Method frontendDashboard has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function frontendDashboard()
              {
          
                  $Stage = new Stage('Indiware', 'Datentransfer');
          
          
          Severity: Minor
          Found in Application/Transfer/Indiware/Export/Export.php - About 1 hr to fix

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

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

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

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

                Method createBasket has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function createBasket(
                        $Name,
                        $Description,
                        $Year,
                        $Month,
                Severity: Minor
                Found in Application/Billing/Bookkeeping/Basket/Service/Data.php - About 1 hr to fix

                  Method registerModule has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public static function registerModule()
                      {
                  
                          Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(
                              __NAMESPACE__, 'Frontend::frontendGroup'
                  Severity: Minor
                  Found in Application/People/Group/Group.php - About 1 hr to fix

                    Method checkFormRelationshipToCompany has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function checkFormRelationshipToCompany(
                            TblPerson $tblPerson,
                            $Type,
                            $To,
                            TblToCompany $tblToCompany = null,
                    Severity: Minor
                    Found in Application/People/Relationship/Service.php - About 1 hr to fix

                      Method softRemovePersonReferences has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function softRemovePersonReferences(TblPerson $tblPerson)
                          {
                      
                              $IsSoftRemove = true;
                      
                      
                      Severity: Minor
                      Found in Application/People/Person/Service/Data.php - About 1 hr to fix

                        Method setTableStudent has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            private function setTableStudent(
                                Schema &$Schema,
                                Table $tblStudentMedicalRecord,
                                Table $tblStudentTransport,
                                Table $tblStudentBilling,
                        Severity: Minor
                        Found in Application/People/Meta/Student/Service/Setup.php - About 1 hr to fix

                          Method updateStudentBasic has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function updateStudentBasic(TblPerson $tblPerson, $Meta)
                              {
                          
                                  $tblStudent = $tblPerson->getStudent(true);
                          
                          
                          Severity: Minor
                          Found in Application/People/Meta/Student/Service.php - About 1 hr to fix

                            Method getEditStudentMedicalRecordForm has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                private function getEditStudentMedicalRecordForm(TblPerson $tblPerson = null)
                                {
                            
                                    return (new Form(array(
                                        new FormGroup(array(
                            Severity: Minor
                            Found in Application/People/Person/Frontend/FrontendStudentMedicalRecord.php - About 1 hr to fix

                              Method getSubject has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  private function getSubject(
                                      TblCertificate $tblCertificate,
                                      $tblSubjectAll,
                                      $LaneIndex,
                                      $LaneRanking,
                              Severity: Minor
                              Found in Application/Education/Certificate/Setting/Frontend.php - About 1 hr to fix

                                Method createScoreGroup has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function createScoreGroup(IFormInterface $Stage = null, $ScoreGroup = null)
                                    {
                                
                                        /**
                                         * Skip to Frontend
                                Severity: Minor
                                Found in Application/Education/Graduation/Gradebook/ScoreRule/Service.php - About 1 hr to fix

                                  Method updateScoreCondition has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public function updateScoreCondition(IFormInterface $Stage = null, $Id, $ScoreCondition)
                                      {
                                  
                                          /**
                                           * Skip to Frontend
                                  Severity: Minor
                                  Found in Application/Education/Graduation/Gradebook/ScoreRule/Service.php - About 1 hr to fix

                                    Method addDivisionSubject has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function addDivisionSubject(
                                            TblDivision $tblDivision,
                                            TblSubject $tblSubject,
                                            TblSubjectGroup $tblSubjectGroup = null,
                                            $HasGrading = true
                                    Severity: Minor
                                    Found in Application/Education/Lesson/Division/Service/Data.php - About 1 hr to fix

                                      Method createCategory has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function createCategory(
                                              IFormInterface $Form,
                                              $Category
                                          ) {
                                      
                                      
                                      Severity: Minor
                                      Found in Application/Education/Lesson/Subject/Service.php - About 1 hr to fix

                                        Method setForeignLanguagesMatrix has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            private static function setForeignLanguagesMatrix(
                                                &$Content,
                                                $countForeignSubjectMatrix
                                            ) {
                                                /**
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language