DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Consider simplifying this complex logical expression.
Open

        if ($tblYear && $tblLevel && $Name != '') {
            $tblDivisionList = array();
            if (( $tblDivision = ( new Data($this->getBinding()) )->getDivisionByDivisionNameAndLevelAndYear($Name, $tblLevel, $tblYear) )) {
                $tblDivisionList[] = $tblDivision;
                return $tblDivisionList;
Severity: Major
Found in Application/Education/Lesson/Division/Service.php - About 40 mins to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function __construct($Content, IIconInterface $Icon = null, $Toggle = false, $Padding = '15', $MarginBottom = '18')
    Severity: Minor
    Found in Common/Frontend/Message/Repository/Success.php - About 35 mins to fix

      Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              $DataList,
              Title $TableTitle = null,
              $ColumnDefinition = array(),
              $Interactive = true,
              $useHtmlRenderer = false
      Severity: Minor
      Found in Common/Frontend/Table/Structure/TableData.php - About 35 mins to fix

        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
        Severity: Minor
        Found in Common/Frontend/Link/Repository/Warning.php - About 35 mins to fix

          Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  $Name,
                  $Label = '',
                  $Placeholder = '',
                  $Data = array(),
                  IIconInterface $Icon = null
          Severity: Minor
          Found in Common/Frontend/Form/Repository/Field/AutoCompleter.php - About 35 mins to fix

            Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function __construct($Content, IIconInterface $Icon = null, $Toggle = false, $Padding = '15', $MarginBottom = '18')
            Severity: Minor
            Found in Common/Frontend/Message/Repository/Info.php - About 35 mins to fix

              Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public function __construct($Content, IIconInterface $Icon = null, $Toggle = false, $Padding = 15, $MarginBottom = 18)
              Severity: Minor
              Found in Common/Frontend/Message/Repository/Warning.php - About 35 mins to fix

                Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
                Severity: Minor
                Found in Common/Frontend/Link/Repository/Primary.php - About 35 mins to fix

                  Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                          IBridgeInterface $File,
                          $Title,
                          $Description = '',
                          $ButtonList = array(),
                          $Type = self::THUMBNAIL_TYPE_DEFAULT
                  Severity: Minor
                  Found in Common/Frontend/Layout/Repository/Thumbnail.php - About 35 mins to fix

                    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                            $Name,
                            $Placeholder = '',
                            $Label = '',
                            IIconInterface $Icon = null,
                            $Option = null
                    Severity: Minor
                    Found in Common/Frontend/Form/Repository/Field/FileUpload.php - About 35 mins to fix

                      Method addMediaItem has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function addMediaItem($Headline, $Content, $Object, $Route = '', $Alignment = LayoutSocial::ALIGN_TOP)
                      Severity: Minor
                      Found in Common/Frontend/Layout/Structure/LayoutSocial.php - About 35 mins to fix

                        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
                        Severity: Minor
                        Found in Common/Frontend/Link/Repository/Danger.php - About 35 mins to fix

                          Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public function __construct(Route $Route, Name $Name, Icon $Icon = null, $Active = false, $ToolTip = false)
                          Severity: Minor
                          Found in Common/Window/Navigation/Link.php - About 35 mins to fix

                            Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
                            Severity: Minor
                            Found in Common/Frontend/Link/Repository/PhoneLink.php - About 35 mins to fix

                              Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                      $Name,
                                      $Label = '',
                                      $Placeholder = '',
                                      $Data = array(),
                                      IIconInterface $Icon = null
                              Severity: Minor
                              Found in Common/Frontend/Form/Repository/Field/SelectCompleter.php - About 35 mins to fix

                                Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                        TableHead $TableHead,
                                        TableBody $TableBody,
                                        Title $TableTitle = null,
                                        $Interactive = false,
                                        TableFoot $TableFoot = null
                                Severity: Minor
                                Found in Common/Frontend/Table/Structure/Table.php - About 35 mins to fix

                                  Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public function __construct($Title, $Content, $Type = Panel::PANEL_TYPE_DEFAULT, $Footer = null, $Filter = false)
                                  Severity: Minor
                                  Found in Common/Frontend/Layout/Repository/Panel.php - About 35 mins to fix

                                    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                            $Name,
                                            $Placeholder = '',
                                            $Label = '',
                                            IIconInterface $Icon = null,
                                            $Rows = 5
                                    Severity: Minor
                                    Found in Common/Frontend/Form/Repository/Field/TextArea.php - About 35 mins to fix

                                      Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false)
                                      Severity: Minor
                                      Found in Common/Frontend/Link/Repository/Success.php - About 35 mins to fix

                                        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                                $Name,
                                                $Placeholder = '',
                                                $Label = '',
                                                IIconInterface $Icon = null,
                                                $Mask = null
                                        Severity: Minor
                                        Found in Common/Frontend/Form/Repository/Field/TextField.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language