Showing 3,246 of 4,217 total issues

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

    public function add(array $fields, $ref_table, array $ref_fields, $extra = [], &$error = false)
Severity: Minor
Found in plugins/db/classes/db/yf_db_utils_helper_foreign_key.class.php - About 35 mins to fix

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

        public function _update_query_log($log_id, $result, $query_time_start = 0, $warnings = null, $info = null)
    Severity: Minor
    Found in plugins/db/classes/yf_db.class.php - About 35 mins to fix

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

          public function update($table, $data, $where, $only_sql = false, $extra = [])
      Severity: Minor
      Found in plugins/db/classes/yf_db.class.php - About 35 mins to fix

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

            public function time_box($selected_time = '', $name_postfix = '', $add_str = '', $show_text = 1, $translate = 1)
        Severity: Minor
        Found in plugins/common/classes/yf_common.class.php - About 35 mins to fix

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

              public function time_box2($name = '', $selected = '', $add_str = '', $show_text = 1, $translate = 1)
          Severity: Minor
          Found in plugins/common/classes/yf_common.class.php - About 35 mins to fix

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

                public function multi_upload_image($new_file_path, $k, $name_in_form = 'image', $max_image_size = 0, $is_local = false)
            Severity: Minor
            Found in plugins/common/classes/yf_common.class.php - About 35 mins to fix

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

                  public function _get_time_diff_human($seconds, $delimiter = ' ', $need_return = false, $only_text = false, $need_closing_tag = false)
              Severity: Minor
              Found in plugins/common/classes/yf_common.class.php - About 35 mins to fix

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

                    public function go($new_file_path, $k, $name_in_form = 'image', $max_image_size = 0, $is_local = false)
                Severity: Minor
                Found in plugins/common/classes/common/yf_multi_upload_image.class.php - About 35 mins to fix

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

                      public function mkdir($server_info = [], $dir_name = '', $dir_mode = 755, $create_index_htmls = 0, $start_folder = '')
                  Severity: Minor
                  Found in plugins/ssh/classes/ssh/yf_ssh_files.class.php - About 35 mins to fix

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

                        public function mkdir_m($server_info = [], $dir_name = '', $dir_mode = 755, $create_index_htmls/*!not implemented here!*/ = 0, $start_folder = '/')
                    Severity: Minor
                    Found in plugins/ssh/classes/ssh/yf_ssh_files.class.php - About 35 mins to fix

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

                          public function mkdir($server_info = [], $dir_name = '', $dir_mode = 755, $create_index_htmls = 0, $start_folder = '')
                      Severity: Minor
                      Found in plugins/ssh/classes/yf_ssh.class.php - About 35 mins to fix

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

                            public function chown($server_info = [], $path = '', $new_owner = '', $new_group = '', $recursively = false)
                        Severity: Minor
                        Found in plugins/ssh/classes/yf_ssh.class.php - About 35 mins to fix

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

                              public function mkdir_m($server_info = [], $dir_name = '', $dir_mode = 755, $create_index_htmls/*!not implemented here!*/ = 0, $start_folder = '/')
                          Severity: Minor
                          Found in plugins/ssh/classes/yf_ssh.class.php - About 35 mins to fix

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

                                protected function _fputcsv($file, array $fields, $delimiter = ',', $enclosure = '"', $mysql_null = false)

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

                                  public function chown($server_info = [], $path = '', $new_owner = '', $new_group = '', $recursively = false)
                              Severity: Minor
                              Found in plugins/ssh/classes/ssh/yf_ssh_files.class.php - About 35 mins to fix

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

                                    public function replace($start_dirs, $pattern_include = '', $pattern_exclude = '', $pattern_find, $pattern_replace)
                                Severity: Minor
                                Found in classes/yf_dir.class.php - About 35 mins to fix

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

                                      public function copy($path1, $path2, $pattern_include = '', $pattern_exclude = '', $level = null)
                                  Severity: Minor
                                  Found in classes/yf_dir.class.php - About 35 mins to fix

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

                                        public function copy_dir($path1, $path2, $pattern_include = '', $pattern_exclude = '', $level = null)
                                    Severity: Minor
                                    Found in classes/yf_dir.class.php - About 35 mins to fix

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

                                          public function _get_exec_cache_name($class_name = '', $custom_path = '', $method_name = '', $method_params = '', $tpl_name = '')
                                      Severity: Minor
                                      Found in classes/yf_main.class.php - About 35 mins to fix

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

                                            public function _gen_dir_path($id, $path = '', $make = false, $dir_mode = 0755, $create_index_htmls = 1)
                                        Severity: Minor
                                        Found in classes/yf_utils.class.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language