piotrpolak/pepiscms

View on GitHub

Showing 481 of 486 total issues

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

    public function registerChange($user_id, $password_encoded, $hashing_salt, $hashing_algorithm, $hasing_iterations)
Severity: Minor
Found in pepiscms/application/models/Password_history_model.php - About 35 mins to fix

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

        public static function executeSshCommand($host, $port, $login = false, $password = false, $command = false)
    Severity: Minor
    Found in pepiscms/application/models/Ssh_model.php - About 35 mins to fix

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

          public function setMessage($label_name, $param1 = null, $param2 = null, $param3 = null, $param4 = null)
      Severity: Minor
      Found in pepiscms/application/libraries/SimpleSessionMessage.php - About 35 mins to fix

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

            private static function generateLink($base_url, $page = 1, $order_by = false, $order = false, $filters = false)
        Severity: Minor
        Found in pepiscms/application/libraries/DataGrid.php - About 35 mins to fix

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

              private function generatePagination($no_of_pages, $order_by, $order, $applied_filter_values, $page)
          Severity: Minor
          Found in pepiscms/application/libraries/DataGrid.php - About 35 mins to fix

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

                public function addFilter($label, $field = false, $filter_type = self::FILTER_BASIC, $filter_values = false, $filter_condition = false)
            Severity: Minor
            Found in pepiscms/application/libraries/DataGrid.php - About 35 mins to fix

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

                  private function computeCacheVariableName($controller, $method, $language_code, $pull_submenu_from_controller, $current_module)
              Severity: Minor
              Found in pepiscms/application/libraries/MenuRendor.php - About 35 mins to fix

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

                    function button_generic($label, $url, $icon_path, $extra_classes = '', $id = false)
                Severity: Minor
                Found in pepiscms/application/helpers/dialog_message_helper.php - About 35 mins to fix

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

                      public function render($controller, $method, $language_code = '', $pull_submenu_from_controller = false, $current_module = false)
                  Severity: Minor
                  Found in pepiscms/application/libraries/MenuRendor.php - About 35 mins to fix

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

                        private function buildMenuItem($language_code, $pull_submenu_from_controller, $current_module, array $menu_map_item_template, $item)
                    Severity: Minor
                    Found in pepiscms/application/libraries/MenuRendor.php - About 35 mins to fix

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

                          private function computeReadOnlyComponentHtml($field, $valueEscaped, $object,
                                \PiotrPolak\PepisCMS\Formbuilder\Component\ComponentInterface $component, $formatting_function_for_uneditable)
                      Severity: Minor
                      Found in pepiscms/application/classes/DefaultFormRenderer.php - About 35 mins to fix

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

                            private function renderInput($field, $value, &$object,
                                                         \PiotrPolak\PepisCMS\Formbuilder\Component\ComponentInterface $component, $readOnly)
                        Severity: Minor
                        Found in pepiscms/application/classes/DefaultFormRenderer.php - About 35 mins to fix

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

                              public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)

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

                                public function load($langfile, $idiom = '', $return = false, $add_suffix = true, $alt_path = '')
                            Severity: Minor
                            Found in pepiscms/application/core/PEPISCMS_Lang.php - About 35 mins to fix

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

                                  public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)

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

                                    public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)

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

                                      public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)

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

                                        private function generateCrudStuffIfNecessary($is_crud, $directory, $template_base_path, array $data, $module_name_lower_case)
                                    Severity: Minor
                                    Found in pepiscms/modules/development/libraries/ModuleGenerator.php - About 35 mins to fix

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

                                          public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)

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

                                            public function renderComponent($field, $value, $valueEscaped, &$object, $extra_css_classes)
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language