DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

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

    public function getContent()
    {

        $this->Template->setVariable('StageTitle', $this->Title);
        $this->Template->setVariable('StageDescription', $this->Description);
Severity: Minor
Found in Common/Window/Stage.php - About 1 hr to fix

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

        public static function registerModule()
        {
    
            Main::getDisplay()->addModuleNavigation(
                new Link(new Link\Route(__NAMESPACE__), new Link\Name('Schulen'), new Link\Icon(new Education()))
    Severity: Minor
    Found in Application/Setting/Consumer/School/School.php - About 1 hr to fix

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

          public function createGroup(IFormInterface $Form = null, $Group)
          {
      
              /**
               * Skip to Frontend
      Severity: Minor
      Found in Application/Corporation/Group/Service.php - About 1 hr to fix

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

            public function updateAddressToCompanyByApi(
                TblToCompany $tblToCompany,
                $Street,
                $City,
                $State,
        Severity: Minor
        Found in Application/Contact/Address/Service.php - About 1 hr to fix

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

              public function updateAddressToPersonByApi(
                  TblToPerson $tblToPerson,
                  $Street,
                  $City,
                  $State,
          Severity: Minor
          Found in Application/Contact/Address/Service.php - About 1 hr to fix

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

                public static function pipelineLoadTable($PersonId)
                {
            
                    $TablePipeline = new Pipeline(false);
                    $TableEmitter = new ServerEmitter(ApiSupport::receiverTableBlock('', 'SupportTable'), ApiSupport::getEndpoint());
            Severity: Minor
            Found in Application/Api/People/Meta/Support/ApiSupport.php - About 1 hr to fix

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

                  public function previewLeavePdf($LeaveStudentId = null, $Name = 'Zeugnis Muster', $Redirect = true)
                  {
              
                      if ($Redirect) {
                          return self::displayWaitingPage('/Api/Education/Certificate/Generator/PreviewLeave', array(
              Severity: Minor
              Found in Application/Api/Education/Certificate/Generator/Creator.php - About 1 hr to fix

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

                    private function secondPage($personId)
                    {
                        $Page = (new Page())
                            ->addSlice(
                                (new Slice())

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

                      private function secondPage($personId)
                      {
                          $Page = (new Page())
                              ->addSlice(
                                  (new Slice())

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

                        public function getEZSHArrangement($personId, $Height = '100px')
                        {
                            $SectionList = array();
                            $Section = new Section();
                            $Section->addElementColumn(((new Element())

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

                          private function secondPage($personId)
                          {
                              $Page = (new Page())
                                  ->addSlice(
                                      (new Slice())

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

                            private function secondPage($personId)
                            {
                                $Page = (new Page())
                                    ->addSlice(
                                        (new Slice())

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

                              public static function createPdf($PersonId, $DocumentClass, $paperOrientation = Creator::PAPERORIENTATION_PORTRAIT, $Data = array())
                              {
                          
                                  if (($tblPerson = Person::useService()->getPersonById($PersonId))
                                      && class_exists($DocumentClass)
                          Severity: Minor
                          Found in Application/Api/Document/Creator.php - About 1 hr to fix

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

                                public function buildDocument($pageList = array())
                                {
                                    return (new Frame())->addDocument((new Document())
                                        ->addPage((new Page())
                                            ->addSliceArray(C01::getContent())
                            Severity: Minor
                            Found in Application/Api/Document/Standard/Repository/KamenzReportGS.php - About 1 hr to fix

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

                                  protected function getNextSubject($tblDocument, $tblSubjectList, &$pointer)
                                  {
                                      if ($pointer > 30) {
                                          return false;
                                      }

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

                                    public function createParentTeacherConferenceListExcel($PersonList, $tblPersonList)
                                    {
                                
                                        if (!empty($PersonList)) {
                                
                                
                                Severity: Minor
                                Found in Application/Reporting/Custom/Chemnitz/Person/Service.php - About 1 hr to fix

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

                                      public function getGroupTableByResult($Result)
                                      {
                                          $TableSearch = array();
                                          if (!empty($Result)) {
                                              /** @var AbstractView[]|ViewPerson[] $Row */
                                  Severity: Minor
                                  Found in Application/Reporting/SerialLetter/SerialLetterFilter.php - About 1 hr to fix

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

                                        public function addElementToList(IFormInterface $Stage = null, $Id, $Element)
                                        {
                                    
                                            /**
                                             * Skip to Frontend
                                    Severity: Minor
                                    Found in Application/Reporting/CheckList/Service.php - About 1 hr to fix

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

                                          public static function renderFromOpcodes($from, $opcodes, $callback)
                                          {
                                      
                                              if (!is_callable($callback)) {
                                                  return;
                                      Severity: Minor
                                      Found in Application/Platform/System/Protocol/Difference/finediff.php - About 1 hr to fix

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

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